anth-common-errors

Installation
SKILL.md

Anthropic Common Errors

Overview

Quick reference for all Claude API error types with exact HTTP codes, error bodies, and fixes. The API returns errors as JSON: {"type": "error", "error": {"type": "...", "message": "..."}}.

Error Reference

400 — invalid_request_error

{"type": "error", "error": {"type": "invalid_request_error", "message": "messages: roles must alternate between \"user\" and \"assistant\""}}

Common causes and fixes:

Installs
2
GitHub Stars
2.3K
First Seen
May 19, 2026
anth-common-errors — jeremylongshore/claude-code-plugins-plus-skills