Skip to content

Delivery attempt changed (attempt-changed)

PubNio attempt-changed problem, HTTP 409: A retry, reconcile, or schedule change sent an expectedAttemptId that is no longer the target's current attempt.

HTTP 409 Delivery attempt changed. A retry, reconcile, or schedule change sent an expectedAttemptId that is no longer the target’s current attempt.

When it happens

3 operations declare it: POST /api/v1/posts/{postId}/targets/{targetId}/reconcile, POST /api/v1/posts/{postId}/targets/{targetId}/retry, and POST /api/v1/posts/{postId}/targets/{targetId}/schedule.

Response body

{
  "type": "https://pubnio.com/docs/problems/attempt-changed/",
  "status": 409,
  "title": "Delivery attempt changed",
  "detail": "Read the current post status before retrying.",
  "code": "attempt_changed",
  "currentAttemptId": "8d2e4f60-7a1b-4c3d-9e8f-0a1b2c3d4e5f",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
Field Type Always present
currentAttemptId string Yes

Recovery for agents

  • Read the post status, then decide again from the attempt in currentAttemptId.

Retryable

No: the SDKs mark HTTP 409 not retryable.

Limits

  • Match on type or code, not on detail.

Type to search…

↑↓ navigate↵ selectEsc close