Error
Application error
61311: Content type doesn't match the declared file
TrustHub
Twilio rejected your document upload because the file's actual content type doesn't match the type declared by its filename or extension. For example, you might upload a PNG image but give it a .pdf extension.
- The file was renamed to an extension for a different format without converting it. For example, renaming
scan.pngtoscan.pdf. - The
Content-Typeheader sent with the upload doesn't match the file's actual format. - The file was saved or exported incorrectly, so its content doesn't match the extension.
- Convert the file to the format indicated by its extension, or rename it so the extension matches the actual format.
- Make sure the
Content-Typeheader in the upload request matches the file's actual format. - Re-export the document from its source application, then upload it again.