Skip to main content
Tender follows follows the conventional HTTP status codes. Code in the range of 2xx indicate success, while codes in the range of 4xx indicates that the request failed as a result of the something provided in the request data. And codes in the range 5xx are unexpected server errors.

Error envelope

On error, responses are wrapped in the same envelope shape as successful responses:
Some endpoints may include additional fields in data with more context about the failure.

HTTP status codes

Working with validation errors

When you receive a 400 or 422 response, check:
  • The request body matches the documented schema (field names and types).
  • Path parameters (for example, :id, :currency, :coin) are present and valid.
  • Authentication headers from the Authentication section are correctly set.
Fix the offending fields and retry the request. If errors persist with a seemingly correct payload, capture the full response body and contact support.*** End Patch