LWLP-1106: Improve notifications 403 error message - #1223
Closed
ochosi wants to merge 1 commit into
Closed
Conversation
When a 403 (Forbidden) is returned from the notification subscriptions or user preferences query, the global query error handler now shows a clear permissions message instead of the raw HTTP status, directing the user to contact their org admin for access. Co-authored-by: Cursor <cursoragent@cursor.com>
ochosi
force-pushed
the
tweak-notifications-alert
branch
from
September 9, 2026 10:17
47c0e0a to
de6dcf2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1223 +/- ##
==========================================
- Coverage 63.90% 63.72% -0.19%
==========================================
Files 149 149
Lines 5511 5511
Branches 1077 1077
==========================================
- Hits 3522 3512 -10
- Misses 1688 1697 +9
- Partials 301 302 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
Author
|
This will be fixed in the notifications service so we don't expect any specific 403 errors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When a 403 (Forbidden) is returned from the notification subscriptions or user preferences query, the global query error handler now shows a clear permissions message instead of the raw HTTP status, directing the user to contact their org admin for access.
TODO: Get the names of the exact permissions that are missing so users can reach out to their org admins in a more actionable/meaningful way.
Testing steps
n/a