code values are additive. Existing codes are never reworded.
HTTP status reference
Documented error codes
Additional operation-specific codes may appear in v1. Prefer HTTP status for broad handling and
code when you need precise branching.Validation errors
Invalid JSON bodies, unknown fields, or id shape mismatches typically return HTTP400. Resource ids use fixed prefixes and lengths:
Client recommendations
- Log
codeand HTTP status for support and metrics. - Show
humaneto users when appropriate; do not parse it for control flow. - Retry
5xxwith exponential backoff. - Do not retry
4xxunless you fix the request (for example, add a validX-Project-Id).
Pagination errors
See Pagination for valid query parameters.