400 responses with no body.
Structured errors
StatusCode values.
Empty-body 400s
Invalid enum values, incorrect casing, missing required enum parameters, and other model-binding failures can return HTTP400 with an empty body. Check the status and Content-Type before calling .json():
Codes you should recognize
The public error-code catalog is not formally versioned. Always retain an unknown-code fallback.
Failures by integration step
For a complete request sequence, see Build your first API swap.