Skip to main content

Error Response Format

All Tiro API errors use the same JSON structure.

Fields

HTTP Status Codes & Error Types

Invalid Requests (400)

When a request cannot be read or fails validation, the response has code 400000 and the detail below. This covers a body that is not valid JSON, a value of the wrong type, a missing required parameter or header, and a value that breaks a validation rule.
A 400000 response can also arrive without detail. In that case, branch on the HTTP status.