# 11751: Media Message - Media exceeds messaging provider size limit

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the combined size of your outbound message and media exceeds the maximum allowed for the channel. The maximum size limit depends on the messaging channel.

* For an MMS message, the size limit is [5MB](/docs/messaging/guides/accepted-mime-types).
* For a WhatsApp message, the size limit is [16MB](/docs/whatsapp/guidance-whatsapp-media-messages).

### Possible causes

* One `MediaUrl` file is too large for the target channel, or the combined size of multiple media files exceeds the channel limit.
* Your MMS request exceeds the 5 MB maximum total size allowed for the message media. Twilio supports up to 10 media files in an MMS request, but the total media payload must remain within 5 MB.
* Your WhatsApp media message exceeds the maximum size allowed for WhatsApp. WhatsApp media messages can be up to 16 MB, and WhatsApp images are limited to 5 MB.

### Possible solutions

* Reduce the size of the media you send so the request stays within the channel limit.
* If you need to send multiple attachments, split them across multiple requests so each request stays below the allowed maximum size.
* Check the accepted media size limits for the channel before you send the message. If you send media through `MediaUrl`, make sure the file served at that URL is the file you expect to send.

#### Additional resources

* [Accepted MIME types for MMS and WhatsApp media](/docs/messaging/guides/accepted-mime-types)
* [WhatsApp media messages guidance](/docs/whatsapp/guidance-whatsapp-media-messages)
