> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/help-center/ai-agents/my-media-upload-failed-or-expired.md).

# My media upload failed or expired

Inspect an upload, renew a part URL, resume valid work, or start a safe replacement.

Inspect the upload session before you retry. A signed part URL can expire while the upload session remains valid.

## Check the upload

1. Keep the original `upload_id`.
2. Call `get_upload` with that ID.
3. Check the upload state, expiry, expected byte size, content type, and multipart progress.
4. Request a new part URL when only the signed URL expired.
5. Upload only the missing part or bytes.
6. Call `complete_upload` only after every required byte or part is present.
7. Read the completed upload back before you create a production.

## Start a replacement only when needed

Abort the old session when it is still active but no longer useful. Create a new session when the session expired or the file identity changed. Use a new idempotency key for a different file.

## Expected result

The upload reaches its completed state and returns an upload ID that the media-production tools can use.

## If the upload still fails

Check the account upload limits, file size, supported content type, part numbers, and the byte count sent. Send Podigee Support the upload ID, file name without a private path, declared byte size, content type, time, and sanitized error. Do not send the media file unless Support asks for it through an approved channel.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.podigee.com/help-center/ai-agents/my-media-upload-failed-or-expired.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
