Black Friday: Up to 66% off most AI models.

Explore the deals

API, MCP and clients

Request parameters, error codes and tool calls.

API, MCP and clients

If the error came from an integration, check the request and tool configuration first.

How to fix it

  1. Use the API error code guide to identify the error and check the request format.
  2. If the error mentions a tool call, check that your model and client support the tool and its request format.
  3. If the issue persists, share the public request ID and model with support. Keep API keys and private file URLs out of your message.
Using the API? See all API error codes