mime-type validation Error

Incident Report for Campaign Registry

Resolved

A hotfix has been tested and deployed. The issue should be resolved. If you still encounters issues, please open a support ticket at support@campaignregistry.com
Posted Sep 19, 2025 - 20:11 EDT

Update

A hotfix is being developed. It will be going through regression testing over the weekend and should be applied early Monday morning (ET). We will update this incident once it has been released.
Posted Sep 19, 2025 - 15:03 EDT

Identified

We have identified an issue with errors being received when submitting some file attachments via the API. The 9/18 release contained additional file validation to prevent the ability to upload malicious files. If the mime type for the file being uploaded does not match certain aspects of the file the API expects, it may be rejected. This most often occurs when the mime type being supplied is application/octet-stream. We are working on a hotfix to fully resolve this and will update this incident once we have an ETA for that fix.

As an immediate workaround if you need to submit an attachment, you should be able to upload it via the portal where the browser should correctly identify the mime type and allow the submission. We have tested this on a number of file types, but it is not exhaustive. Alternatively, if you ensure that your API upload indicates the actual mime type (e.g., image/jpeg or application/pdf) rather than the generic application/octet-stream for a binary file, you should not encounter the error.
Posted Sep 19, 2025 - 12:38 EDT
This incident affected: API (csp-api) and Portal (csp-portal).