Error Reference
The Tedro API uses standard HTTP status codes and returns errors in a consistent JSON format.Error Response Format
All error responses follow this structure:HTTP Status Codes
Success Codes
Client Error Codes
Server Error Codes
Common Error Scenarios
Authentication Errors (401)
x-workspace-id header on every request.
Permission Errors (403)
Validation Errors (400 / 422)
details array for specific field errors. Correct the request body and retry.
Conflict Errors (409)
Rate Limit Errors (429)
Retry-After response header before retrying. See Rate Limiting for details on limits per endpoint.
Workflow Validation Errors (422)
When publishing a workflow, the platform validates the graph structure:Error Handling Best Practices
- Always check the status code before parsing the response body
- Parse the
errorfield for a human-readable description - Check
detailson 400/422 responses for field-level validation errors - Implement retry with backoff for 429 and 500 responses
- Log the full response for debugging — include status code, headers, and body