Skip to main content
The Tilta API communicates the outcome of every request through standard HTTP status codes combined with a structured JSON response body. When a request fails, the response body contains a machine-readable error_code field and a human-readable message field that together tell you exactly what went wrong.
Always inspect the response body – not just the HTTP status code – when handling errors. The error_code field provides the specific application-level reason for a failure, which is essential for writing correct error-handling logic and for troubleshooting issues in the Platform Portal.

HTTP status codes

The following table lists every HTTP status code returned by the Tilta API, its type, and a description of when you will encounter it.

Application-level error codes

When the HTTP status code alone is insufficient to describe the problem, use the code field in the response body. The table below maps common codes to a cause and a recommended action.

Error response format

Every error response has the same shape: a machine-readable code and a human-readable error.
Validation failures add an issues array pinpointing each field. The path is prefixed with the part of the request it came from – body, params, querystring, or headers.
  • Branch on code, not on the error text. The error string is intended for logs and debugging and may change; code is stable.
  • Distinguish retryable errors from terminal errors. Status codes 408 and 424 indicate transient conditions and are safe to retry with exponential back-off. Codes 400, 401, 404, and 409 indicate a problem with your request that will not resolve itself on retry.
  • Handle 409 carefully. A conflict on creation means the resource may already exist. Query for the existing resource before deciding whether to create a new one.
  • Never silently swallow errors. Surface error codes to your operations team so that issues such as frozen facilities or blocked buyers can be actioned promptly.
A 500 Server Error response should be rare. If you receive repeated 500 responses for the same request, do not continue retrying without first contacting Tilta support – repeated retries may result in duplicate resource creation.