mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5933] Improve browser network error message with CORS hint #5424
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#5424
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5933
Author: @saksham242007
Created: 3/3/2026
Status: 🔄 Open
Base:
main← Head:improve-network-error-message📝 Commits (1)
4244e12Improve browser network error message with CORS hint when cause is unavailable📊 Changes
2 files changed (+14 additions, -6 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+3 -2)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/browser/index.ts(+11 -4)📄 Description
This PR improves the browser network error message by making it clear when a request is likely blocked due to CORS restrictions.
before, the error message could be confusing for users, especially when the exact cause was not available.so now This update adds a more helpful hint suggesting that the issue might be related to CORS and recommends using Proxy or Agent mode.
While working in Browser mode, users often encounter CORS-related issues. The earlier message did not clearly explain that the browser might be blocking the request. now this small improvement makes the error more informative and beginner friendly.
The changes we did is ...
en.jsontranslation to include a clearer CORS hint ndSummary by cubic
Clarifies browser network errors by showing a CORS hint when the cause is unknown. Helps Browser mode users understand blocked requests and suggests Proxy or Agent mode.
Written for commit
4244e122c1. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.