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

# Version unsupported

# `version_unsupported`

| HTTP | When                                                   |
| ---- | ------------------------------------------------------ |
| 400  | The `Scripe-Api-Version` header is missing or unknown. |

We accept at least the **two most recent** date-stamped versions at
any time. Sunset of older versions is announced via the
`Scripe-Deprecation` response header at least 90 days before the
sunset date — see [conventions.md §versioning](../conventions.md#versioning).

The error envelope's `details` field lists currently-accepted versions
when present:

```json theme={null}
{
  "error": {
    "code": "version_unsupported",
    "message": "The 'Scripe-Api-Version' header is missing or unsupported.",
    "request_id": "req_…",
    "docs_url": "https://docs.scripe.io/api/v1/errors#version_unsupported",
    "details": { "accepted": ["2026-08-01"] }
  }
}
```

To recover:

1. Pin a supported version in your client config.
2. If you're upgrading, smoke-test in staging against the new version
   header before you cut over production.
3. If you got here because we sunset a version, find the deprecation
   notice in the `Scripe-Deprecation` header captured before the
   cutover, or contact support — we always email integrators ahead of
   any sunset.
