# Feature Request: Include File Name in File Type Restriction Error Messages

**URL:** <https://community.transloadit.com/t/feature-request-include-file-name-in-file-type-restriction-error-messages/17634>\
**Category:** Uppy\
**Created:** [June 16, 2025, 3:01pm UTC](https://community.transloadit.com/t/feature-request-include-file-name-in-file-type-restriction-error-messages/17634 "2025-06-16T15:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjiroArthur](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/benjiroarthur/32/1376_2.png) [@benjiroArthur](https://community.transloadit.com/u/benjiroArthur)\
**Post date:** [June 16, 2025, 3:01pm UTC](https://community.transloadit.com/t/feature-request-include-file-name-in-file-type-restriction-error-messages/17634/1 "2025-06-16T15:01:35Z")

</div>

Hi Uppy Team 👋,

Thanks for the amazing work on Uppy — it’s a truly developer-friendly and robust upload solution!

I have a small but impactful feature suggestion specifically related to file type validation:

Please consider including the file name in the error message when a file is rejected due to an unsupported file type.

**Context**

When users upload multiple files and some of them fail the _allowedFileTypes_ check, the resulting error message doesn’t indicate which file(s) were rejected. This creates confusion for users, especially when dealing with a batch of uploads.

**Example**  
Instead of: _You can only upload: .png, .jpg_  
we could say: _document.exe’ is not supported. You can only upload: .png, .jpg_

**Benefit**

This would make it much easier for users to identify and correct problematic files during bulk uploads.

Would love to know if this is something that could be supported in a future release — or if there’s a known workaround for customizing those specific error messages.

Thanks again for your great work on Uppy!

Best regards,  
Benjamin.
