HTTP 409 Post revision changed. The expectedRevision sent with an update, create, or publish differs from the post’s current revision.
When it happens
3 operations declare it: POST /api/v1/posts, POST /api/v1/posts/{postId}/publish, and PATCH /api/v1/posts/{postId}.
Response body
{
"type": "https://pubnio.com/docs/problems/post-revision-conflict/",
"status": 409,
"title": "Post revision changed",
"detail": "Read the latest post revision before retrying.",
"code": "post_revision_conflict",
"currentRevision": 4,
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
currentRevision |
integer | Yes |
Recovery for agents
- Read the post, reapply the change to revision
currentRevision, and send that revision.
Retryable
No: the SDKs mark HTTP 409 not retryable.
Limits
- Match on
typeorcode, not ondetail.