Skip to content

Billing settings changed concurrently (billing-revision-conflict)

PubNio billing-revision-conflict problem, HTTP 409: A spend control update's version differs from the workspace billing row's current version.

HTTP 409 Billing settings changed concurrently. A spend control update’s version differs from the workspace billing row’s current version.

When it happens

One operation declares it: PATCH /api/v1/workspaces/{workspaceId}/billing/spend-controls.

Response body

{
  "type": "https://pubnio.com/docs/problems/billing-revision-conflict/",
  "status": 409,
  "title": "Billing settings changed concurrently",
  "detail": "Billing settings were updated concurrently.",
  "code": "billing_revision_conflict",
  "expectedVersion": 2,
  "actualVersion": 3,
  "nextAction": "Read GET /api/v1/workspaces/:workspaceId/billing and retry with the latest version.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
Field Type Always present
expectedVersion integer Yes
actualVersion integer Yes
nextAction string Yes

Recovery for agents

  • Do what nextAction says.

Retryable

No: the SDKs mark HTTP 409 not retryable.

Limits

  • Match on type or code, not on detail.

Type to search…

↑↓ navigate↵ selectEsc close