---
title: 5005: Upload ref invalid. | API Docs
description: upload_ref is not a valid upload reference.
---

**HTTP status:** `422`.

The upload\_ref at param is not in the form POST /v1/media returns. Nothing was sent.

## Troubleshooting

- Use the upload\_ref exactly as returned by POST /v1/media, in the same livemode.

## Related

- [Uploading media](/channel/whatsapp/api/resources/media/methods/upload/index.md)
- [Sending a message](/channel/whatsapp/api/resources/chats/subresources/messages/methods/send/index.md)
