{"version":"2.1.317","anchor":"api-error-type-map-gains-429-and-504","canonical_anchor":"api-error-type-map-gains-429-and-504","heading":"Rate limit and timeout responses now get their own error types","tier":"internal","area":"API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317\/e\/api-error-type-map-gains-429-and-504","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317","markdown":"### Rate limit and timeout responses now get their own error types\n\nHTTP status 429 now maps to `rate_limit_error` and 504 to `timeout_error`\n\n**What**\n\nClaude Code turns HTTP status codes into named error types. A status code is the number a server sends back to say how a request went. The map now includes two more codes:\n\n- 429 becomes `rate_limit_error`.\n\n- 504 becomes `timeout_error`.\n\nBefore, the map went no further than 404.\n\n**Why**\n\nThese errors are now classified by name. Before, they were left without a type.\n\n- Area: API\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}