Skip to Content
AffFast

api_version_unsupported

The API version is not known.

HTTP status: 400. Error type: invalid_request_error.

The API version is not known.

Example

{
  "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.
  • Remove the header to use the version that your workspace pinned.

On this page