# Error 131053 — Media Upload Error

> Troubleshooting Guide Error 131053 — Media Upload Error Understand why media messages fail to send with error code 131053, which file types and sizes are…

- Source: https://docs.ghlcustomercare.com/docs/reselling-products/whatsapp/error-131053-media-upload-error
- Section: Reselling Products / WhatsApp
- Reading time: 9 min

---
<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 600">Troubleshooting Guide</p><p style="font-weight: 700">Error 131053 — Media Upload Error</p><p>Understand why media messages fail to send with error code 131053, which file types and sizes are supported, and how to fix it.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">What you'll learn</p><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="vertical-align: top" width="25%"><p><span style="font-weight: 700">+</span>&nbsp; What error 131053 means</p></td><td style="vertical-align: top" width="25%"><p><span style="font-weight: 700">+</span>&nbsp; Supported media types and sizes</p></td><td style="vertical-align: top" width="25%"><p><span style="font-weight: 700">+</span>&nbsp; All known causes</p></td><td style="vertical-align: top" width="25%"><p><span style="font-weight: 700">+</span>&nbsp; Step-by-step fix</p></td></tr></tbody></table></td></tr></tbody></table>

---

**TABLE OF CONTENTS**

-   [What is Error 131053?](#overview)
-   [Supported Media Types and Size Limits](#supported)
-   [Known Causes](#causes)
-   [How to Resolve It](#resolve)
-   [How to Prevent It](#prevent)
-   [Related Error Codes](#related)
-   [Frequently Asked Questions](#faq)

---

<table cellpadding="0" cellspacing="0" id="overview" width="100%"><tbody><tr><td><p style="font-weight: 700">What is Error 131053?</p><p>Media Upload Error — WhatsApp was unable to upload the media file attached to the message</p></td></tr></tbody></table>

Error **131053** is a WhatsApp Cloud API error officially titled **"Media Upload Error"**. It occurs when the WhatsApp API fails to upload a media file you are trying to send — such as an image, video, audio file, document, or sticker. The message is not delivered and the media is not sent.

This is what the error looks like in the API response:

"errors": \[
  {
    "code": 131053,
    "title": "Media upload error",
    "message": "Media upload error",
    "error\_data": {
      "details": "Unable to upload the media used in the message."
    }
  }
\]

The `error_data.details` field in the webhook response often contains a more specific reason for the failure — such as the exact unsupported MIME type. Always check this field first when diagnosing the error.

Example of a specific detail message:
"Unsupported Image mime type image/webp. Please use one of image/png, image/jpeg."

---

<table cellpadding="0" cellspacing="0" id="supported" width="100%"><tbody><tr><td><p style="font-weight: 700">Supported Media Types and Size Limits</p><p>Reference this table before uploading any media to avoid error 131053</p></td></tr></tbody></table>

The WhatsApp Business API only supports specific file formats and sizes. Any file outside these specifications will trigger error 131053.

| Type | Max Size | Supported Formats |
| --- | --- | --- |
| Image | 5 MB | `image/jpeg`, `image/png` — Must be 8-bit, RGB or RGBA. WebP is NOT supported for regular image messages. |
| Video | 16 MB | `video/mp4`, `video/3gpp` — Must use H.264 video codec and AAC audio codec. Single or no audio stream only. |
| Audio | 16 MB | `audio/aac`, `audio/mp4`, `audio/mpeg`, `audio/amr`, `audio/ogg` (OPUS codec only) |
| Document | 100 MB | PDF, Word (.docx), Excel (.xlsx), PowerPoint (.pptx), and most common document formats. Any file type not supported as another media type can be sent as a document. |
| Sticker | 100 KB | `image/webp` only — Static WebP (outbound). Must be exactly **512 x 512 pixels** with transparent background. |

**Important:** WebP images (`image/webp`) are **only supported as Stickers**. Sending a WebP file as a regular image message will always return error 131053. Convert WebP to JPEG or PNG before sending as an image.

---

<table cellpadding="0" cellspacing="0" id="causes" width="100%"><tbody><tr><td><p style="font-weight: 700">Known Causes</p><p>All confirmed reasons for error 131053 based on Meta documentation</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">1. Unsupported file format or MIME type</p><p>The most common cause. The file format is not on WhatsApp's supported list — for example, sending a <code>.webp</code> as a regular image, a <code>.tiff</code>, a <code>.gif</code>, or a video using the wrong codec. Even if the file extension looks correct, the actual MIME type matters — a file renamed to <code>.jpg</code> but encoded as WebP internally will still fail.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">2. File size exceeds the limit</p><p>The file is larger than the allowed maximum for its type. WhatsApp applies size limits <strong>after encryption</strong>, which means the effective size of the file on WhatsApp's end may be slightly larger than the original file. Keep files well within the limits: images under 5 MB, videos under 16 MB, audio under 16 MB, documents under 100 MB, and stickers under 100 KB.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">3. Corrupted or invalid media file</p><p>The file is corrupted, incomplete, or contains hidden metadata or attributes that cause WhatsApp's media processor to reject it. This sometimes happens with images that have been edited or exported with non-standard encoding.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">4. Sticker does not meet specifications</p><p>Stickers have very specific requirements: WebP format, exactly <strong>512 x 512 pixels</strong>, transparent background, and under <strong>100 KB</strong>. Any deviation from these requirements — wrong dimensions, no transparency, too large, or wrong format — will return error 131053.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">5. Video uses an unsupported codec</p><p>Videos must use the <strong>H.264 video codec</strong> and <strong>AAC audio codec</strong>. Videos encoded with H.265 (HEVC), VP9, AV1, or other codecs will fail. Also, videos must have a single audio stream or no audio stream — multiple audio tracks are not supported.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">6. Media URL is not publicly accessible</p><p>When sending media via a URL (link-based), the URL must be <strong>publicly accessible over HTTPS</strong>. If the URL requires authentication, is behind a firewall, uses HTTP instead of HTTPS, returns a redirect (302), or is not accessible from Meta's servers, the upload will fail with error 131053.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">7. URL does not end with a recognized file extension</p><p>When using a URL to send media, the URL should end with the correct file extension (e.g. <code>.jpg</code>, <code>.mp4</code>, <code>.pdf</code>). Dynamic URLs without a clear file extension can confuse Meta's media processor.</p></td></tr></tbody></table>

---

<table cellpadding="0" cellspacing="0" id="resolve" width="100%"><tbody><tr><td><p style="font-weight: 700">How to Resolve It</p><p>Work through these steps to identify and fix the media issue</p></td></tr></tbody></table>

Step 1 **Check the error\_data.details field in the webhook response**

The webhook triggered by the failed message contains a `error_data.details` field with a specific reason. Check this value first — it will often tell you exactly what is wrong, such as the unsupported MIME type or the reason the file could not be processed.

Step 2 **Verify the file format against the supported types table above**

Check the actual format of your file — not just the file extension. Use the conversions below if your file is in an unsupported format:

| Unsupported Format | Convert To | Notes |
| --- | --- | --- |
| WebP (as image) | JPEG or PNG | WebP is only allowed as a Sticker, not a regular image |
| GIF | MP4 video | Animated GIFs are not supported — convert to a short MP4 |
| TIFF / BMP / HEIC | JPEG or PNG | Convert using any image editor |
| MOV / AVI / MKV | MP4 (H.264 + AAC) | Use HandBrake or ffmpeg to re-encode with correct codecs |
| WAV / FLAC / WMA | AAC or MP3 | Convert audio format to a supported type |
| Large file over limit | Compress or send as Document | Documents allow up to 100 MB — useful for large files |

Step 3 **Check the file size is within limits**

Confirm the file is below the maximum size for its type. If it is too large, compress it before re-uploading. Use tools like **TinyPNG** for images, **HandBrake** for videos, and export documents to PDF format to reduce size. Keep files well under the limit — sizes are measured after encryption, which can increase the effective size slightly.

Step 4 **If using a URL, verify the media URL is correct and publicly accessible**

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td>URL must start with <code>https://</code> — HTTP URLs are not accepted</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td>URL must be publicly accessible without authentication or login — paste it in an incognito browser to test</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td>URL should end with the correct file extension — e.g. <code>.jpg</code>, <code>.mp4</code>, <code>.pdf</code></td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td>URL must not return a redirect (302 response) — Meta's servers do not follow redirects. Use the final, direct URL</td></tr></tbody></table></td></tr></tbody></table>

Step 5 **Re-export or re-save the file to clear hidden attributes**

If the file type and size are correct but the upload still fails, the file may have hidden metadata or attributes causing the issue. Re-save or re-export the file from its original application. For images, tools like **imagecompressor.com** can clean hidden attributes. For videos, re-encoding with HandBrake or ffmpeg forces a clean output file.

Step 6 **Contact support if the issue persists**

If the file meets all format and size requirements and the upload still fails, contact our support team with:

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><ul><li>The file type, format, and size</li><li>The full error response including the <code>error_data.details</code> value</li><li>Whether you are using a URL or direct file upload</li><li>The URL of the media file if URL-based (confirm it is publicly accessible)</li></ul></td></tr></tbody></table>

---

<table cellpadding="0" cellspacing="0" id="prevent" width="100%"><tbody><tr><td><p style="font-weight: 700">How to Prevent It</p><p>Best practices to avoid media upload failures</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><strong>Always use JPEG or PNG for images</strong> — these are the safest and most universally supported formats. Avoid WebP, TIFF, BMP, and HEIC for regular image messages</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><strong>Encode all videos as MP4 with H.264 + AAC</strong> before uploading. This is the safest combination and works on all devices and WhatsApp versions</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><strong>Keep file sizes well under the limits</strong> — sizes are applied after encryption, so aim for images under 4 MB, videos under 15 MB, and stickers under 80 KB to have a safe margin</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><strong>Host media on a reliable, publicly accessible HTTPS server</strong> — avoid using temporary links, signed URLs that expire, or URLs that require cookies or authentication</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><strong>Test media URLs before using them in messages</strong> — open the URL in an incognito browser window to confirm it is publicly accessible and returns the correct file directly</td></tr></tbody></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><strong>When in doubt, send as a Document</strong> — if a file is in an unusual format or close to the size limit, send it as a Document type. Documents accept a wider range of formats and support up to 100 MB</td></tr></tbody></table></td></tr></tbody></table>

---

<table cellpadding="0" cellspacing="0" id="related" width="100%"><tbody><tr><td><p style="font-weight: 700">Related Error Codes</p><p>Other media-related errors you may encounter</p></td></tr></tbody></table>

| Error Code | Title | Description |
| --- | --- | --- |
| 131052 | Media Download Error | WhatsApp could not download media from the URL provided. Caused by broken links, slow servers, or inaccessible files. |
| 131051 | Unsupported Message Type | The message type itself is not supported by the WhatsApp Business API. |
| 100 | Invalid Parameter | One or more API parameters are invalid or incorrectly formatted in the request. |
| 131026 | Message Undeliverable | Message was not delivered — caused by invalid number, blocked contact, or marketing frequency cap. |

---

<table cellpadding="0" cellspacing="0" id="faq" width="100%"><tbody><tr><td><p style="font-weight: 700">Frequently Asked Questions</p><p>Common questions about error 131053</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">Q: My image is a JPEG but I am still getting error 131053 — why?</p><p>The file extension does not always match the actual encoding. A file saved as <code>.jpg</code> could internally be encoded as WebP or another format. Check the <code>error_data.details</code> field for the exact MIME type that was detected. Re-export the file from an image editor as JPEG to ensure it is correctly encoded.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">Q: Can I send GIF animations on WhatsApp Business API?</p><p>No. Animated GIFs are not supported by the WhatsApp Business API. If you need to send an animation, convert it to a short <strong>MP4 video</strong> using H.264 and AAC codecs. WhatsApp will play it inline in the conversation.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">Q: My video is under 16 MB and in MP4 format — why is it still failing?</p><p>MP4 is the correct container but the video must also use the correct codecs: <strong>H.264 for video</strong> and <strong>AAC for audio</strong>. Many MP4 files use H.265 (HEVC) or other codecs that WhatsApp does not support. Use HandBrake or ffmpeg to re-encode the video with H.264 + AAC to ensure compatibility.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">Q: Can I send WebP images on WhatsApp Business API?</p><p>Yes, but <strong>only as Stickers</strong>. WebP files sent as regular image messages will always return error 131053. If you want to send a WebP image as a regular image, convert it to JPEG or PNG first. If you want to send it as a sticker, it must be exactly 512x512 pixels, have a transparent background, and be under 100 KB.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">Q: What is the difference between error 131052 and error 131053?</p><p><strong>Error 131052</strong> (Media Download Error) occurs when WhatsApp cannot download media from a URL you provided — the URL may be broken, slow, or inaccessible. <strong>Error 131053</strong> (Media Upload Error) occurs when WhatsApp can access the file but cannot process or upload it — usually due to an unsupported format, incorrect codec, or corrupted file.</p></td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><p style="font-weight: 700">Quick Summary</p><p>Error 131053 means WhatsApp could not upload the media file. Start by checking the <code>error_data.details</code> field for the exact reason. Most cases are caused by an unsupported format, wrong codec, or file exceeding the size limit. Convert images to JPEG or PNG, videos to MP4 with H.264 and AAC, and keep files well under the size limits. If using URLs, ensure they are HTTPS, publicly accessible, and end with the correct file extension.</p></td></tr></tbody></table>

---

Documentation for GHL Customer Care. Support: support@ghlcustomercare.com