---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/36004#article
headline: "36004: Error Retrieving File"
url: https://www.twilio.com/docs/api/errors/36004
inLanguage: en
dateModified: 2026-06-08T11:38:30.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 36004: Error Retrieving File

Log Type: APPLICATION

Log Level: ERROR

## Description

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

* 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`.

### Possible solutions

* 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

* [Programmable Messaging](/docs/messaging)
* [Twilio API requests](/docs/usage/requests-to-twilio)
* [Debugging Tools](/docs/messaging/guides/debugging-tools)
