> The index of all pages is at https://docs.afffast.com/llms.txt.

# request_invalid

The request is not valid.

HTTP status: **400**. Error type: `invalid_request_error`.

The request is not valid.

## Example

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "request_invalid",
    "message": "The request is not valid.",
    "doc_url": "https://docs.afffast.com/errors/request-invalid",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}
```

## Causes

- The request is well formed, but the API cannot do it in the present state. Examples: the body is too large, the workspace has the maximum number of webhook endpoints (20), a connection has the maximum number of postback sources (5), you retry a delivery of a disabled endpoint, or you rotate a revoked API key.

## How to fix

- Read the message. It tells what to change.
- Delete an object that you do not use, or enable the disabled object, and try again.
