---
title: "Post revision changed (post-revision-conflict)"
description: "PubNio post-revision-conflict problem, HTTP 409: The expectedRevision sent with an update, create, or publish differs from the post's current revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Post revision changed (post-revision-conflict)

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`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts), [`POST /api/v1/posts/{postId}/publish`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/publish), and [`PATCH /api/v1/posts/{postId}`](https://pubnio.com/api/v1/docs#tag/posts/PATCH/api/v1/posts/{postId}).

## Response body

```json
{
  "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 `type` or `code`, not on `detail`.

## Related

- [Publishing problems](https://pubnio.com/docs/problems/#publishing)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/post-revision-conflict/index.mdx
