Error Codes

HTTP status codeDescription
400Bad RequestYour request is invalid.
401UnauthorizedYour API key is wrong.
404Not FoundThe specified object could not be found.
422Unprocessable EntityYour request failed validation.
429Too Many RequestsYou’re requesting too many kittens! Slow down!
500Internal Server ErrorWe had a problem with our server. Try again later.
502Bad GatewayThe service encountered an error while processing your request.
504Gateway TimeoutYour request took too long to respond.

Error JSON

Errors from Sequin have a consistent JSON body. Each HTTP status code has its own canonical fields:

HTTP status codeJSON Body
400{"summary": "Error summary"}
401{"summary": "Error summary"}
404{"summary": "Error summary"}
422{"summary": "Error summary", "validation_errors": {"field_name": ["Reason for validation failure"]}}
429{"summary": "Error summary"}
500{"summary": "Error summary"}
502{"summary": "Error summary"}
504{"summary": "Error summary"}