Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

90041: Broadcast 'MediaUrl' field is too long


ERROR: 90041

error-90041 page anchor
ERROR

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

possible-causes page anchor
  • 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.
  • 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

additional-resources page anchor