legacy-knowledge-base
公開されました Sep. 10, 2025

Receiving the 'Unable to parse upload request' when try to upload folder

written-by

Anushka Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • Receiving the error in the logs when trying to upload the folder using the custom module.
  • Steps to reproduce:
    1. Start the server.
    2. Deploy the sample portlet for uploading the folder in the bundle.
    3. Create a folder hierarchy: /home/me/Downloads/Test/1. testing
    4. Add any files without extensions on this path.
    5. Start the server and edit the page.
    6. Navigate to widget > Sample > Add the 'SampleFolderUpload' to upload the page.
    7. Then try uploading the folder.
    Observed behavior: Receiving the warning in the logs:
    WARN [http-nio-8080-exec-1][UploadServletRequestImpl:254] Unable to parse upload request: Processing of multipart/form-data request failed. /home/me/Downloads/liferay-dxp-tomcat-7.3.10-dxp-2-20210623003016661/liferay-dxp-7.3.10-dxp-2/tomcat-9.0.43/temp/upload_00000025. testing/2023-07-28_18-49 (No such file or directory)
    Expected behavior:
    It should show the success message on the UI without any errors in the log.

Environment

  • Liferay DXP 7.3

Resolution

  • The issue appears from one of the third-party dependencies (Apache Commons IO)
  • The observed behavior is a known concern addressed by LPE-17269.

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base