---
title: "Unsupported API version (unsupported-api-version)"
description: "PubNio unsupported-api-version problem, HTTP 400: The PubNio-Version header is present but names a version the API does not serve."
---

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

# Unsupported API version (unsupported-api-version)

HTTP 400 Unsupported API version. The `PubNio-Version` header is present but names a version the API does not serve.

## When it happens

Every API operation declares it.

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/unsupported-api-version/",
  "status": 400,
  "title": "Unsupported API version",
  "detail": "PubNio-Version \"2025-01-01\" is not a supported API version.",
  "code": "unsupported_api_version",
  "param": "PubNio-Version",
  "supportedVersions": ["2026-12-02"],
  "nextAction": "Send PubNio-Version: 2026-12-02, or omit the header.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field               | Type                    | Always present |
| ------------------- | ----------------------- | -------------- |
| `param`             | string                  | Yes            |
| `supportedVersions` | array of `"2026-12-02"` | Yes            |
| `nextAction`        | string                  | Yes            |

## Recovery for agents

- Omit the header to get the current version.
- Do what `nextAction` says.
- `param` is the field to change.
- Resend with a version from `supportedVersions`.

## Retryable

No: the SDKs mark HTTP 400 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [General problems](https://pubnio.com/docs/problems/#general)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/unsupported-api-version/index.mdx
