Errors
Error response format and HTTP status codes.
Error format
All errors follow a consistent shape:
The code field is machine-readable and stable. The message field is human-readable and may change. The details field provides additional context where applicable.
Error codes
Validation errors
When the request body fails schema validation (422), the details field includes an array of issues:
Each issue includes the field path (dot-notation) and a description of the problem.