Solved

Misleading error message when uploading a PDF to an article

  • 10 October 2023
  • 1 reply
  • 55 views

When someone with admin or community manager permission uploads a PDF to a post or article, they receive this message: 

Sorry, we couldn’t upload your file because we don’t support that file type. Supported file types: zip, pdf, xml, txt, csv, doc, docx, xls, xlsx, ppt, pptx, jpg, jpeg, gif, png


Because we are uploading a PDF and that is a supported file type, we knew this message was being triggered by something else. After some experimenting, we learned that we cannot upload PDFs with special characters in the title. 

How can we change this error message to say:

Your file name contains a special character:  / : ? < > | * “ . Please remove all punctuation marks, symbols, or other special characters in your file name and try again.

icon

Best answer by hh.hh 12 October 2023, 16:00

View original

1 reply

Hi @JessicaMendez!

 

That is indeed correct. The platform does not allow uploading files that contain special characters in the name.

 

We have an internal report for this which should be picked up by our Engineering Team in order to update the error message to a more accurate one.

 

There is however a custom hidden phrase that you can add to your community in Control > Customization > Phrases (.../settings/translation/overview) to edit this phrase:

 

  • Module: Common

  • Key: js.uploader.error_file_type

Reply