mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[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
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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:
Code for receiving parameters in the interface:
Deployment Type
Hoppscotch Cloud
Version
Version 25.9.1 (20251001.065947)
@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.
Could you elaborate on this and help with the steps to reproduce?
@zhaoqiang1024 commented on GitHub (Oct 27, 2025):
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?
Add a Postman parameter configuration diagram
@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.
@jamesgeorge007 commented on GitHub (Oct 29, 2025):
Thanks for reporting. We'll investigate.
cc @nivedin
@jamesgeorge007 commented on GitHub (Oct 31, 2025):
Hi @zhaoqiang1024, quick update: The above issue with file uploads in the experimental scripting sandbox has been resolved in the latest release.
@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