API Problems
Loading...

Validation Error

Error response when a request fails input validation

The API returns a 400 Bad Request status with this problem type when the request payload is invalid.

Response Format

{
  "type": "https://docs.tambo.co/reference/problems/validation",
  "status": 400,
  "title": "Bad Request",
  "detail": "Initial message at index 0 must have content",
  "instance": "/threads"
}

Fields

  • type - Stable URI identifying this problem type
  • status - HTTP status code (always 400)
  • title - Short summary of the problem (always Bad Request)
  • detail - Human-readable description of what was invalid
  • instance - The specific request path that triggered this error

Handling

When you receive this error:

  1. Read the detail field to see what failed validation
  2. Update your request payload to match the expected schema
  3. Retry the request

See Also