Under the hood
AWS server error parsing now also reads error codes nested under details.error_code
What
Claude Code's normalizer for AWS server errors now checks details?.error_code on the error response before falling back to the older error_code/code fields. This means error payloads that nest their error code inside a details object are now correctly recognized and mapped to a known server error code.
Why
This lets Claude Code correctly identify and handle a wider range of AWS error response shapes instead of missing the ones with a nested error code.