# 36005: Broadcast File Type Invalid

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when you upload a Broadcast file that is not a `.json.gz` file. For Broadcast uploads, provide a GZIP-compressed JSON file and attach it as the value of the `file` key in the request body.

### Possible causes

* You uploaded a file that is not a `.json.gz` file.
* You uploaded JSON that was not GZIP-compressed.
* You uploaded a compressed file in a format other than `.json.gz`.

### Possible solutions

* Create a GZIP-compressed JSON file and upload it with a `.json.gz` extension.
* Attach the upload file as the value of the `file` key in the Broadcast Upload request body.
* If the upload is rejected again, verify that the file is under 25 MB before retrying.
* Review the request in Messaging logs or Error Logs to confirm which upload failed and what file was sent.

#### Additional resources

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