appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: [A-force] Error Uploading Zip Files using filepicker widget

Open NilanshBansal opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

The user is facing an issue where some files fail to upload to their API with the following error: Error uploading attachment: org.springframework.web.reactive.function.client.WebClientRequestException: Unable to parse content. Expected to receive an array or object of multipart data

They have shared a reproduction app and two files to test with. To reproduce this there are two files, Zip-Fail and Zip-Rezipped. The Zip-Fail file came from their client, and fails the upload. When the user unzipped and re-zipped the file, it uploaded successfully. Ref: https://theappsmith.slack.com/archives/C0341RERY4R/p1707510761277959

Steps To Reproduce

REPRO STEPS:

  1. Import ReproApplication.json into a workspace.
  2. Upload Zip-Fail.zip using the Filepicker widget.
  3. Click the Submit button below the Filepicker.
  4. Observe the error toast at the top of the screen.
  5. Upload Zip-Rezipped.zip using the Filepicker widget.
  6. Click the Submit button below the Filepicker.
  7. Observe the success toast at the top of the screen.

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

v1.9.42 - SNAPSHOT

NilanshBansal avatar Feb 16 '24 11:02 NilanshBansal