Skip to main content
The Tess AI API uses conventional HTTP response codes to indicate the success or failure of an API request. In general:
  • Codes in the 2xx range indicate success
  • Codes in the 4xx range indicate an error that failed given the information provided
  • Codes in the 5xx range indicate an error with our servers (these are rare)

HTTP Status Codes

Error Types and Examples

Authentication Errors (403)

These errors occur when there’s a problem with your API key:
Common causes:
  • Invalid API key
  • Expired API key
  • Missing Authorization header
  • Insufficient permissions

Validation Errors (400)

Occur when the request data doesn’t meet the requirements:
Common validation rules:
  • Webhooks
    • URL must be a valid HTTPS URL
    • Method must be either POST or GET
    • Status must be either “active” or “inactive”
  • Files
    • File must be provided for upload
    • Process flag is optional (default: false)

Missing workspace header (422)

As of 2026-09-01, authenticated API requests must include x-workspace-id. If the header is missing:
Until that date, omitting the header falls back to the user’s selected workspace (deprecated). Send x-workspace-id on every request to stay compatible.

Rate Limit Errors (429)

Occur when you’ve exceeded the API rate limits:

Server Errors (500)

Indicate an issue on our end: