Skip to content

Update error handling to capture all 4xx responses #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fethij
Copy link
Contributor

@fethij fethij commented Jun 22, 2025

interceptor was only capturing error codes when the HTTP status was exactly 400, but RLS violations from Supabase were coming with a different HTTP status code. For example fatal error INSUFFICIENT PRIVILEGE 42501 was 403.

closes #204

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.

supabase fatal errors
1 participant