11751: Media Message - Media exceeds messaging provider size limit
MESSAGING, WHATSAPP
ERROR
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.
- One
MediaUrlfile 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.
- 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.