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

# api_version_unsupported

The API version is not known.

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

The API version is not known.

## Example

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "api_version_unsupported",
    "message": "The API version is not known.",
    "param": "Api-Version",
    "doc_url": "https://docs.afffast.com/errors/api-version-unsupported",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}
```

## Causes

- The `Api-Version` header is not a date in the format `YYYY-MM-DD`.
- The date is not a version that the API knows.

## How to fix

- Send a known version. The message of the error lists the known versions. See [API versioning](https://docs.afffast.com/docs/versioning.md).
- Remove the header to use the version that your workspace pinned.
