> ## Documentation Index
> Fetch the complete documentation index at: https://docs.antarah.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# invalid_request

> Invalid request (HTTP 400)

| | |
| - | - |
| HTTP status | `400` |
| OpenAI `type` | `invalid_request_error` |
| Anthropic `type` | `invalid_request_error` |
| Retry | No. Error responses carry `x-should-retry: false`. |

## What it means

The body isn't valid JSON, or an inference request doesn't match the endpoint's schema (a wrong type, a value out of range, a missing required field).

## What to do

Fix the request. `message` and `param` name the problem. Don't retry unchanged.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.