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
{
"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
nextActionsays. paramis the field to change.- Resend with a version from
supportedVersions.
Retryable
No: the SDKs mark HTTP 400 not retryable.
Limits
- Match on
typeorcode, not ondetail.