Notifications
Clear all

[Solved] Unable to use a File type field - File type is not allowed

3 Posts
1 Users
0 Likes
1,096 Views
Posts: 3
Customer
Topic starter
(@ramon-saldanha)
Member
Joined: 1 year ago

Hello! I'm trying to add a File field to a topic. Settings are like in the picture below:

Sem título

The problem is: when I try to create a new topic, when I hit save two messages appear:

1) An error (red): Download - File type no allowed.

2) A green one: Post saved successfully.

The file I'm trying to use is a .zip file, which is one of the allowed types on my list in the Download field as you can see. File size is very small, within limits.

I've tried adding mime types for these but the error persists. I have no clue how it isn't working. A bug, maybe?

2 Replies
Posts: 3
Customer
Topic starter
(@ramon-saldanha)
Member
Joined: 1 year ago

This clearly seems to be a bug as using attachments works fine for the same file.

Posts: 3
Customer
Topic starter
(@ramon-saldanha)
Member
Joined: 1 year ago

Found a solution.

The problem is .zip files can be application/zip or application/x-zip-compressed. Adding both to the mime types array solves the issue.

Share:
Scroll to top