API Problems
Loading...
Endpoint Deprecated
Error response when calling a deprecated API endpoint
The API returns a 410 Gone status with this problem type when you call an endpoint that has been deprecated and removed.
Response Format
{
"type": "https://docs.tambo.co/reference/problems/endpoint-deprecated",
"status": 410,
"title": "Endpoint Deprecated",
"detail": "The non-streaming /advance endpoint has been deprecated. Please use /advancestream instead.",
"code": "ENDPOINT_DEPRECATED",
"instance": "/threads/advance",
"details": {
"migrateToEndpoint": "POST /advancestream"
}
}Fields
type- Stable URI identifying this problem typestatus- HTTP status code (always410)title- Short summary of the problemdetail- Human-readable description explaining what was deprecatedcode- Stable identifier (ENDPOINT_DEPRECATED) for programmatic error handlinginstance- The specific request path that triggered this errordetails.migrateToEndpoint- Migration guidance showing the HTTP method and replacement endpoint path
Handling
When you receive this error:
- Check the
details.migrateToEndpointfield for the replacement endpoint - Update your code to use the new endpoint
- Review the REST API documentation for the correct request format
Example
# Old endpoint (deprecated)
curl -X POST https://api.tambo.co/threads/advance \
-H "Authorization: Bearer YOUR_API_KEY"
# New endpoint (use this instead)
curl -X POST https://api.tambo.co/threads/advancestream \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"See Also
- REST API Reference - Complete API documentation
- RFC 9457 Problem Details - Standard for error responses