4xx or 5xx status code includes a JSON body that gives you a machine-readable error code and a human-readable message — so your integration can respond intelligently without parsing free-form text.
Error Response Format
Every error response follows this consistent shape:string
Always
"error" for failed requests.string
A stable, snake_case identifier for the error type. Use this field in your application logic — the
message field is for humans and may change.string
A plain-English description of what went wrong, suitable for logging or displaying to internal users.
HTTP Status Codes
Common Error Codes
Handling Errors
Check the HTTP status code first, then inspecterror.code to take the appropriate action in your integration: