Invalid filename in parameter 'fileName' Error | Community
Skip to main content
Eric_D_Miller
Level 5
May 7, 2025
Question

Invalid filename in parameter 'fileName' Error

  • May 7, 2025
  • 3 replies
  • 659 views

Hello,

 

I am receiving an error message when uploading a document and I am not sure why.

 

Here are two bundles that uploaded fine:

 

But this bundle did not process:

Here is my error:

Here is my upload file module configuration:

The failed filename does not appear to have any illegal characters. Is there anything else that could cause this error when uploading a file?

 

Thank you

 

3 replies

DimitrisGoudis
May 9, 2025

@eric_d_miller one possible reason is having the same name in your folder. Can you check that, please? Otherwise, can you share the inputs from the failed run on your scenario? 

Eric_D_Miller
Level 5
May 9, 2025

@dimitrisgoudis Hello! Do you mean to say that I cannot have a duplicate file name in my destination folder? I do not believe any two files with the same name are being downloaded/uploaded.

 

I can also confirm that the resulting filename does not exceed 255 characters.

 

My input bundle on the failed Operation was null '[]'.

 

 

Sven-iX
Community Advisor
Community Advisor
May 9, 2025

Hi @eric_d_miller 

To test: Does the upload of file 87 work of you hardcode a filename? 

If it works there the filename has some sort of invisible character - you could cleanup the filename with the regexp module.

kautuk_sahni
Community Manager
Community Manager
July 29, 2025

@eric_d_miller Just checking in — were you able to resolve your issue? We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!

Kautuk Sahni