Skip to main content

STORAGE_MIME_TYPE_NOT_ALLOWED

Encountering an error? Get help with AI tools

Error Cause​

The declared Content-Type is not in the bucket's allowed_mime_types allowlist. The allowlist supports wildcards such as image/*.

Solution​

  1. Verify that Content-Type matches the actual file type;
  2. Check the bucket's allowed_mime_types configuration;
  3. Change the file type or adjust the allowlist, then retry.