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

36004: Error Retrieving File


ERROR: 36004

error-36004 page anchor
MESSAGING
ERROR

Twilio returns this error when it cannot retrieve the Broadcast upload file from your request body. For Broadcast uploads, attach a GZIP-compressed JSON file as the value of the file key. Twilio APIs accept multipart/form-data for requests that include file content.

Possible causes

possible-causes page anchor
  • The request body did not include a file key for the Broadcast upload.
  • The uploaded file was sent under a different field name, so Twilio could not find the required file key.
  • The request body format prevented Twilio from reading the uploaded file. Twilio APIs expect multipart/form-data or application/x-www-form-urlencoded, and file uploads should be sent in multipart/form-data.
  • Send the upload as a .json.gz file and attach it as the value of the file key in the Broadcast Upload request body.
  • Make sure the request uses multipart/form-data so the uploaded file is sent as a retrievable form part.
  • If the request still fails, review the Error Logs or Messaging logs in Console to inspect the failing request and confirm which upload Twilio received.

Additional resources

additional-resources page anchor