{"version":"2.1.317","anchor":"new-api-error-label-routeturnedaway","canonical_anchor":"new-api-error-label-routeturnedaway","heading":"New RouteTurnedAway error shows \"The API is temporarily unavailable\"","tier":"notice","area":"API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317\/e\/new-api-error-label-routeturnedaway","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317","markdown":"### New RouteTurnedAway error shows \"The API is temporarily unavailable\"\n\nRequests turned away before any work is done now raise a RouteTurnedAway error with retry timing, shown as \"The API is temporarily unavailable\"\n\n**What**\n\nClaude Code has a new kind of API error for when a request is turned away before any work was done on it.\n\n- `RouteTurnedAwayError`: the new error carries a status and a `retryAfter` value, which says how long to wait before trying again.\n\n- User-facing text: this error now shows as \"The API is temporarily unavailable\" instead of a generic error.\n\n- Separately, Claude Code now records calls made by task-list subagents, up to a size limit. A subagent is a helper instance of Claude that works on part of a task.\n\n**Why**\n\nWhen this happens you see a plain message saying the API is briefly unavailable. Because the request was rejected before any work started, trying again later is safe.\n\n- Area: API\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}