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 typestatus- HTTP status code (always400)title- Short summary of the problem (alwaysBad Request)detail- Human-readable description of what was invalidinstance- The specific request path that triggered this error
Handling
When you receive this error:
- Read the
detailfield to see what failed validation - Update your request payload to match the expected schema
- Retry the request
See Also
- REST API Reference - Complete API documentation
- RFC 9457 Problem Details - Standard for error responses