Overview:
An error is encountered when uploading PDF file in Vault: Error uploading file.
From the Vault log, a similar error appears as:
Caused by: java.io.FileNotFoundException: /data2/formupload/...file name... (File name too long)
Root Cause:
This error can occur because the file name is too long. For example, more bytes are used to store Asian and international characters exceeding the filename character limit of 255.
Solution:
Use a shorter name for the filename. Be sure the filename is created using the 255 character limit.
Use byte counter to check the character count in the filename.
Related Documentation:
Send us your feedback: We are always looking for feedback to help improve our Knowledge Base! Please let us know if this article is helpful or provide feedback on how we can improve your experience by clicking here.