What
Claude Code now has a check that recognizes when access to a model has been suspended for an organization. It treats an error as this case when any of these is true:
- the error carries the code
model_access_suspended - the error text contains that same code
- the error text says the model "is suspended for this organization"
Claude Code also now groups a set of errors that happen when a server's response cannot be unpacked or read. A compressed response is one that is squeezed to travel faster and has to be unpacked on arrival. The set covers:
- zlib decompression errors
- Brotli decompression errors
- Zstandard decompression errors
- invalid HTTP responses
Why
Once Claude Code can name these cases, it can handle them apart from other failures. A suspended organization and a garbled response from the server need different responses from a general error.