Error Response Format
Every error response from the Parallel AI API returns a JSON body with a singleerror field describing what went wrong:
error message when debugging — the message provides specific context that the status code alone cannot.
HTTP Status Codes
Common Errors and Solutions
403 Forbidden — feature not enabled on your plan
403 Forbidden — feature not enabled on your plan
Symptom: Your request is authenticated but returns
{"error": "Forbidden"}.Solutions:- The endpoint or feature you’re calling may not be included in your current Parallel AI plan.
- Contact Parallel AI support to confirm which features are available on your plan or to request access.
404 Not Found — resource does not exist
404 Not Found — resource does not exist
Symptom: A resource lookup returns
{"error": "Not found"}.Solutions:- Double-check the resource ID in your request path (e.g. agent ID, sequence ID).
- Confirm the resource belongs to the company associated with your API key — you cannot access resources from other companies.
- The resource may have been deleted. Use a list endpoint to verify it still exists.
429 Too Many Requests — rate limit exceeded
429 Too Many Requests — rate limit exceeded
Symptom: Requests start returning
{"error": "Too many requests"}.Solutions:- Slow down the rate at which you’re making requests.
- Implement exponential backoff: wait before retrying, doubling the wait time on each successive failure.
- Batch operations where possible, or use
pageSize=100to retrieve more data per request.
500 Internal Server Error
500 Internal Server Error
Symptom: The API returns a
500 status unexpectedly.Solutions:- This indicates an issue on Parallel AI’s servers, not your request.
- Retry the request after a short delay — most transient errors resolve quickly.
- If the error persists, contact Parallel AI support with the request details and timestamp.
Retry Logic with Exponential Backoff
For production integrations, implement retry logic to handle transient errors (429 and 500) gracefully:
