mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3361] PWA not retrieving status-400 codes #1122
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#1122
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 @Batimius on GitHub (Sep 15, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3361
Discussed in https://github.com/hoppscotch/hoppscotch/discussions/3309
Originally posted by Batimius September 1, 2023
Hello there. So, I was testing a local application (an app running on
http://localhost:3000), and in my application, I return a status-400 response when the user does not provide the appropriate data to the API endpoint. When running the requests through Hoppscotch, any request that would end up in a status-400 response would give me a "Could not send request" screen. It wouldn't give me the response itself, but it would rather just display that it could not send the request.I am unsure whether this is an intended behavior or not. I am using the extension and I have whitelisted
http://localhost:3000, so I am unsure why this is an issue. If there is a way for me to fix this, please let me know. I am running Hoppscotch as a PWA from hoppscotch.io. That is all. Thank you for your time and help, they are truly appreciated.Just like mentioned in the discussion above, status-400 codes are never processed by the Hoppscotch application (PWA). Any status-400 request ends up in a "could not send request" screen. Since this seems to be unintentional, I decided to open an issue thread. Please let me know if this is a known issue or not. Thank you for the time and support.
@liyasthomas commented on GitHub (Sep 15, 2023):
Thanks for submitting the issue. We have an open PR to fix this issue on our Browser Extension repository: https://github.com/hoppscotch/hoppscotch-extension/pull/227.
Expect a hotfix as early as next week. Thanks for being patient.
@Batimius commented on GitHub (Sep 15, 2023):
Thank you for the fast reply. Please @ me (or reply / close this issue) when this is fixed so I know when I can start using Hoppscotch again. Cheers!
@liyasthomas commented on GitHub (Oct 15, 2023):
We've recently patched this issue, hence closing the ticket. Updated the browser extension to the latest version.
Feel free to re-open if the issue persists. cc: @Batimius