---
title: "Media upload conflict (media-upload-conflict)"
description: "PubNio media-upload-conflict problem, HTTP 409: A multipart upload cannot take the part or completion: the session expired, a re-sent part differs, the upload is closed, a part came out of order, or parts are missing."
---

> 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.

# Media upload conflict (media-upload-conflict)

HTTP 409 Media upload conflict. A multipart upload cannot take the part or completion: the session expired, a re-sent part differs, the upload is closed, a part came out of order, or parts are missing.

## When it happens

3 operations declare it: [`POST /api/v1/media/uploads/{mediaId}/complete`](https://pubnio.com/api/v1/docs#tag/media/POST/api/v1/media/uploads/{mediaId}/complete), [`POST /api/v1/media/inline`](https://pubnio.com/api/v1/docs#tag/media/POST/api/v1/media/inline), and [`PUT /api/v1/media/uploads/{mediaId}/parts/{partNumber}`](https://pubnio.com/api/v1/docs#tag/media/PUT/api/v1/media/uploads/{mediaId}/parts/{partNumber}).

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/media-upload-conflict/",
  "status": 409,
  "title": "Media upload conflict",
  "code": "media_upload_conflict",
  "reason": "parts_missing",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field    | Type                                                                                               | Always present |
| -------- | -------------------------------------------------------------------------------------------------- | -------------- |
| `reason` | `"part_conflict"`, `"part_out_of_order"`, `"parts_missing"`, `"upload_closed"`, `"upload_expired"` | Yes            |

## Recovery for agents

- `part_out_of_order` and `parts_missing`: upload the missing parts in order, then complete. `upload_expired` and `upload_closed`: start a new upload. `part_conflict`: resend the original bytes.

## Retryable

No: the SDKs mark HTTP 409 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

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

Source: https://pubnio.com/docs/problems/media-upload-conflict/index.mdx
