◉CLAUDE LABJP
●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files
TAG

error handling

11 articles
← Back to all tags
Related:
Claude API8troubleshooting2Claude Code2Streaming2billing1cost14291Automation1Operations1Troubleshooting1Reliability1batch processing1
⬡ API & SDK/2026-11-18Intermediate

Before Your Customers Pay Through Linked Billing: Reading a 402 or 403 to Find Whose Wallet Is Empty

Linked billing, released in beta on November 17, lets you choose who pays on every Claude API request through billing_policy. When a request billed to a customer comes back as a 402 or 403, here is how I work out which wallet is the cause, when to pay for it myself, and a small Python wrapper that keeps that decision in one place.

⬡ API & SDK/2026-10-22Beginner

You Hit Your Limit and Got a 400 — Telling Apart Your Own Spend Limit, the Tier Cap, and Rate Limits

Claude API limit errors come in three kinds, and they differ in status code and in whether waiting helps. A limit you set returns 400, the tier cap returns 429, and so do ordinary rate limits. Code and a decision table.

⟐ Claude Code/2026-08-03Advanced

Existence Checks Pass, Writes Fail — Probing Capabilities Before an Unattended Run

A directory existing and a directory being writable are two different facts. Measured results from five broken-environment cases, why static clues cannot predict the worst of them, and a capability-probe preflight for unattended Claude Code runs.

⬡ API & SDK/2026-04-26Intermediate

When Claude's API Returns 'Spanner Temporarily Unavailable': Triage and Retry Design

What to check first when the Claude API returns 'Spanner temporarily unavailable': telling your code apart from the provider side, exponential backoff with jitter, model fallback, and when a nightly batch should simply wait.

⬡ API & SDK/2026-07-02Advanced

When 41 of 20,000 Message Batches Requests Quietly Vanished — Field Notes on Reconciling and Requeuing Partial Failures

processing_status: ended does not mean every request succeeded. How errored and expired results hide inside a finished batch, and how a custom_id ledger catches every gap and requeues safely — with real cost and timing numbers.

⬡ API & SDK/2026-06-27Advanced

Designing the Give-Up Condition in Self-Repair Loops: Four Error Classes, Four Retry Budgets

LLM self-repair loops break on the fantasy that 'if you keep fixing, it eventually passes.' Classify errors into four classes, give each its own retry budget. Working TypeScript and real cost numbers included.

⬡ API & SDK/2026-06-20Advanced

Running Subagents in Parallel Without One Failure Sinking the Whole Run

A fan-out / fan-in design for running several subagents in parallel, covering token budgeting, a result contract, and partial-failure handling. Includes an implementation where one branch can fail without stopping the rest, plus measured numbers.

⟐ Claude Code/2026-05-31Intermediate

What to Do When Claude Code Hits the Context Window Limit

Long Claude Code sessions eventually hit the 200k token limit and stall. Here's how to use /compact, --continue, and session design patterns to keep development moving without losing context.

⬡ API & SDK/2026-04-20Advanced

Three Hidden Pitfalls When Implementing Claude API Streaming

Real-world lessons from building with Claude API streaming: runtime environment mismatches, error handling gaps, and silent token cost overruns — with working TypeScript examples.

⬡ API & SDK/2026-03-14Advanced

Claude API Streaming & Tool Use in Production — Patterns for Parallel Calls, Error Handling, and Retry Strategies

Master production-grade streaming and tool use patterns with Claude API. Learn parallel tool calling, intelligent error handling, resilient retry strategies, and resource optimization.

⬡ API & SDK/2026-03-09Intermediate

Claude API Error Handling and Retry Strategies

Learn about Claude API error codes, retry strategies, and rate limit handling. Best practices for building robust API integrations in production.