mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4530] [bug]: version:2024.10.1, if the request type in the request body is application/json and the content is not standard JSON, the request cannot be processed correctly. #1661
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#1661
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 @rtlney16 on GitHub (Nov 12, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4530
Is there an existing issue for this?
Current behavior
Steps to reproduce
In the latest version, if the request type in the request body is application/json and the content is not standard JSON, the request cannot be processed correctly.
Environment
Production
Version
Cloud
@ImNicolasTheDev commented on GitHub (Nov 20, 2024):
Hello!
Did you tried with other content types (other available json content-types)? Maybe you could also try with text/html or text/plain content-types?
@rtlney16 commented on GitHub (Nov 21, 2024):
My requirement is to use application/json, and there is no problem in 24.9.3.I also tested with text/html and text/plain, and there is a problem.
@passionroro commented on GitHub (Jun 30, 2025):
👋 I'd like to revive this issue !
Indeed, if you pass a badly formatted JSON, the request will be processed but no error will be returned, which is confusing.
Example:
A JSON parser would return :
But no error is indicated. IMO, hoppscotch should indicate that the JSON is incorrectly formatted, like what Bruno does
Thanks ✨