Fix: a tool run returns an error

Steps to find out why a run failed and how to fix it.
Troubleshooting
Beginner
2 min read
Updated Dec 5, 2026

When a run fails, the error tells you why. Work through this list from the top.

1. Read the code and the hint

In Studio the error is explained in plain words with steps to try. In the API every error has a code, a message and a hint. Keep the request_id. Look up the code in Error codes and rate limits.

2. Match the symptom

You see Likely cause Try this
invalid_api_key (401) Key missing, incomplete, deleted or replaced Copy the whole key again, send it in the X-Api-Key header, or make a new key. See Authenticate API requests
api_key_location_not_allowed Key sent in the address or body Move it to a header
invalid_parameter (400) A setting is out of range or malformed The message names the setting. The tool’s page in the API reference lists its allowed values
missing_field (400) A required file or field is missing Check the tool’s required fields and the field name of the file
unsupported_media_type (415) The file type is not accepted by this tool Convert the file first, or choose a tool for that type
file_too_large, too_many_files, total_upload_exceeded (413) Over your plan’s size limits Send less per request. Read your limits with GET /v1/limits
endpoint_not_allowed, format_not_allowed (403) Your plan does not include this tool or format See Change or cancel your plan
monthly_quota_exceeded, rate_limit_exceeded (429) Allowance used up, or too many requests See Understand usage and limits; for rate limits wait and retry
url_blocked, url_fetch_failed (400) The web address is private, not http(s), or could not be downloaded Use a public address that opens in a browser
image_processing_failed, pdf_tool_failed, data_conversion_failed (500) The file is damaged or unusual Try another copy of the file or different settings
server_busy, timeout (503) The service was briefly busy Retry after a moment; use background jobs for big files
ai_not_configured, feature_unavailable The AI feature is not available on this server yet Try later, or another tool

3. Still stuck?

Contact support with the request id, the tool, the time, and what you expected. Do not send your API key.

Checked against API contract 3.0.0.

Was this article helpful?
Thanks for your feedback.
Still stuck?

Talk to a human

Send us a message and we will get back to you quickly.