E15021 — WhatsAppMediaExpired
This message's media is no longer available. Media on a received WhatsApp message is kept for 30 days; a file Bird sent is kept for 30 days after it was uploaded.
- HTTP status:
410 - Type:
gone_error - Name:
WhatsAppMediaExpired
What to do
While the message itself is retained, it still reads back with the media's mime_type and caption. Retrying does not restore the bytes, and uploading the file again creates a new file rather than reattaching it to this message. Save received media when the message first arrives, and keep your own copy of a file you upload for sending.
Related
- E15xxx — WhatsApp sending & delivery: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on
typeandcode, validation details, andvendor_code
Related resources
Continue with the documentation, guides and examples for this topic.