---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/90041#article
headline: "90041: Broadcast 'MediaUrl' field is too long"
url: https://www.twilio.com/docs/api/errors/90041
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 90041: Broadcast 'MediaUrl' field is too long

Log Type: APPLICATION

Log Level: ERROR

## Description

Twilio could not create or send the broadcast because at least one `MediaUrl` value in your request exceeds the supported length. This error usually occurs when your application passes a very long media link, often because of excessive query parameters, tracking values, or a pre-signed URL.

### Possible causes

* One of the `MediaUrl` values in the broadcast request is longer than the allowed limit.
* Your application generated a media URL with long query string parameters or temporary access tokens.
* You included a redirecting or signed URL that expanded beyond the supported request size for the `MediaUrl` field.
* The request payload contains an incorrectly formatted media link that caused the final `MediaUrl` value to be longer than expected.

### Possible solutions

* Shorten the `MediaUrl` value before you send the broadcast request.
* Host the media at a stable, publicly accessible URL that does not require long query parameters.
* Remove unnecessary tracking parameters, signatures, or redirect layers from the media link.
* Verify that each `MediaUrl` points directly to the media file you want to send.
* If you generate URLs programmatically, review your application logic to ensure it does not append duplicate parameters or unexpected encoded data.
* Test the request again with a shorter media link to confirm the broadcast can be created successfully.

#### Additional resources

* [Send media in Programmable Messaging](/docs/messaging/guides/webhook-request)
* [Notify API reference](/docs/notify/api)
* [Get help with Twilio error logs](https://help.twilio.com/articles/360011045133-Viewing-Error-Logs-in-Twilio-Console)
