Skip to content

fix: show a friendly Access denied message for 403 responses#1979

Open
vishwakt wants to merge 1 commit into
aws:mainfrom
vishwakt:issue-1977-friendly-403
Open

fix: show a friendly Access denied message for 403 responses#1979
vishwakt wants to merge 1 commit into
aws:mainfrom
vishwakt:issue-1977-friendly-403

Conversation

@vishwakt

@vishwakt vishwakt commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Closes #1977

403 responses fell through to the catch-all NetworkError branch, showing "Network Response 403" with the raw server response. Added a dedicated 403 branch with the copy from the issue. The message stays generic since a 403 can mean credentials, permissions, or proxy configuration. The raw response is still available via Error Details.

Tested against a local stub returning a Neptune-style AccessDeniedException 403, triggered via schema sync.

Before:

before-403

After:

after-403

A 403 previously fell through to the catch-all NetworkError branch,
showing the unfriendly "Network Response 403" title with either the raw
server response or a generic message. Since a 403 can be caused by
several things (credentials, permissions, proxy configuration), the new
message stays generic and points the user at what they can reasonably
check.

Fixes aws#1977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

403 errors show an unfriendly "Network Response 403" message

1 participant