[GH-ISSUE #5511] [bug]: When attempting to upload regular parameters and Excel files to a post API, the interface failed to receive the file stream parameters. #2124

Closed
opened 2026-03-16 23:15:57 +03:00 by kerem · 6 comments
Owner

Originally created by @zhaoqiang1024 on GitHub (Oct 24, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5511

Originally assigned to: @nivedin on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Desktop App

Browser

Chrome

Operating System

macOS

Bug Description

I was attempting to call a POST API that requires multiple standard field parameters and a MultipartFile file field. However, the API call failed to retrieve any of the required parameters.
hoppscotch interface configuration:
Image
Code for receiving parameters in the interface:

Image Image The framework utilizes Spring Boot. However, we observed that this parameter handling method fails to work with multipart/form-data or application/x-www-form-urlencode formats. The only viable approach is to append the parameter value in the format after the URL, which is supported by Postman.

Deployment Type

Hoppscotch Cloud

Version

Version 25.9.1 (20251001.065947)

Originally created by @zhaoqiang1024 on GitHub (Oct 24, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5511 Originally assigned to: @nivedin on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Desktop App ### Browser Chrome ### Operating System macOS ### Bug Description I was attempting to call a POST API that requires multiple standard field parameters and a MultipartFile file field. However, the API call failed to retrieve any of the required parameters. hoppscotch interface configuration: <img width="1095" height="407" alt="Image" src="https://github.com/user-attachments/assets/31277a93-bfc0-4a94-8954-a3a059d82065" /> Code for receiving parameters in the interface: <img width="840" height="383" alt="Image" src="https://github.com/user-attachments/assets/7f6a1c53-a308-4f66-8164-612be64f265a" /> <img width="1055" height="433" alt="Image" src="https://github.com/user-attachments/assets/2f543976-a913-4c49-a689-4f5de0eae0b3" /> The framework utilizes Spring Boot. However, we observed that this parameter handling method fails to work with multipart/form-data or application/x-www-form-urlencode formats. The only viable approach is to append the parameter value in the format after the URL, which is supported by Postman. ### Deployment Type Hoppscotch Cloud ### Version Version 25.9.1 (20251001.065947)
kerem 2026-03-16 23:15:57 +03:00
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 24, 2025):

Hi, there is a known issue with file uploads related to https://github.com/hoppscotch/hoppscotch/issues/5443. We've a fix - https://github.com/hoppscotch/hoppscotch/pull/5512 up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via Settings > Experiments.
Please keep track of the same in the above issue.

However, we observed that this parameter handling method fails to work with multipart/form-data or application/x-www-form-urlencode formats

Could you elaborate on this and help with the steps to reproduce?

<!-- gh-comment-id:3443881377 --> @jamesgeorge007 commented on GitHub (Oct 24, 2025): Hi, there is a known issue with file uploads related to https://github.com/hoppscotch/hoppscotch/issues/5443. We've a fix - https://github.com/hoppscotch/hoppscotch/pull/5512 up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via `Settings > Experiments`. Please keep track of the same in the above issue. > However, we observed that this parameter handling method fails to work with multipart/form-data or application/x-www-form-urlencode formats Could you elaborate on this and help with the steps to reproduce?
Author
Owner

@zhaoqiang1024 commented on GitHub (Oct 27, 2025):

Hi, there is a known issue with file uploads related to #5443. We've a #5512 up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via Settings > Experiments. Please keep track of the same in the above issue.

However, we observed that this parameter handling method fails to work with multipart/form-data or application/x-www-form-urlencode formats

Could you elaborate on this and help with the steps to reproduce?

My project utilizes the springboot-2.1.13.release framework, with Java interfaces as shown in the diagram. Unlike single-file upload implementations, I've defined a Java object to receive parameters from the frontend. However, my interface requires not only file stream objects but also other fields. For GET-type interfaces, parameters can be appended to URLs in the format "a1=aaa&b1=bbb" – a method that has been successfully tested with hopsscotch. But since my interface uses POST method, I expect to receive parameters as object structures. Unfortunately, hopsscotch cannot handle this format. Interestingly, the same POSTMAN form-data format works perfectly. Could we possibly adopt POSTMAN's approach here?

Image

Add a Postman parameter configuration diagram

Image
<!-- gh-comment-id:3449950996 --> @zhaoqiang1024 commented on GitHub (Oct 27, 2025): > Hi, there is a known issue with file uploads related to [#5443](https://github.com/hoppscotch/hoppscotch/issues/5443). We've a [#5512](https://github.com/hoppscotch/hoppscotch/pull/5512) up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via `Settings > Experiments`. Please keep track of the same in the above issue. > > > However, we observed that this parameter handling method fails to work with multipart/form-data or application/x-www-form-urlencode formats > > Could you elaborate on this and help with the steps to reproduce? My project utilizes the springboot-2.1.13.release framework, with Java interfaces as shown in the diagram. Unlike single-file upload implementations, I've defined a Java object to receive parameters from the frontend. However, my interface requires not only file stream objects but also other fields. For GET-type interfaces, parameters can be appended to URLs in the format "a1=aaa&b1=bbb" – a method that has been successfully tested with hopsscotch. But since my interface uses POST method, I expect to receive parameters as object structures. Unfortunately, hopsscotch cannot handle this format. Interestingly, the same POSTMAN form-data format works perfectly. Could we possibly adopt POSTMAN's approach here? <img width="661" height="327" alt="Image" src="https://github.com/user-attachments/assets/62e554eb-8fec-44ff-a738-5d07d4e4b7e5" /> Add a Postman parameter configuration diagram <img width="732" height="390" alt="Image" src="https://github.com/user-attachments/assets/dbbd6cd3-56d9-4657-8472-d6a172d936cf" />
Author
Owner

@xieyanknockout commented on GitHub (Oct 29, 2025):

I'm having the same problem when I look at browser requests and curl commands, and it seems that hoppscopch doesn't generate boundaries to separate files when passing them.

<!-- gh-comment-id:3459202290 --> @xieyanknockout commented on GitHub (Oct 29, 2025): I'm having the same problem when I look at browser requests and curl commands, and it seems that hoppscopch doesn't generate boundaries to separate files when passing them.
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 29, 2025):

Thanks for reporting. We'll investigate.
cc @nivedin

<!-- gh-comment-id:3460182727 --> @jamesgeorge007 commented on GitHub (Oct 29, 2025): Thanks for reporting. We'll investigate. cc @nivedin
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 31, 2025):

Hi, there is a known issue with file uploads related to https://github.com/hoppscotch/hoppscotch/issues/5443. We've a fix - https://github.com/hoppscotch/hoppscotch/pull/5512 up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via Settings > Experiments.
Please keep track of the same in the above issue.

Hi @zhaoqiang1024, quick update: The above issue with file uploads in the experimental scripting sandbox has been resolved in the latest release.

<!-- gh-comment-id:3474197436 --> @jamesgeorge007 commented on GitHub (Oct 31, 2025): > Hi, there is a known issue with file uploads related to https://github.com/hoppscotch/hoppscotch/issues/5443. We've a fix - https://github.com/hoppscotch/hoppscotch/pull/5512 up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via Settings > Experiments. Please keep track of the same in the above issue. Hi @zhaoqiang1024, quick update: The above issue with file uploads in the experimental scripting sandbox has been resolved in the [latest release](https://github.com/hoppscotch/hoppscotch/releases/tag/2025.10.0).
Author
Owner

@nivedin commented on GitHub (Nov 4, 2025):

@zhaoqiang1024 the issue with file upload in multipart/form-data was fixed with lates release 2025.10.0, can you please check if this issue still persists

<!-- gh-comment-id:3485924510 --> @nivedin commented on GitHub (Nov 4, 2025): @zhaoqiang1024 the issue with file upload in multipart/form-data was fixed with lates release 2025.10.0, can you please check if this issue still persists
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2124
No description provided.