Skip to content

feat(postgrest): report a 414 as UriTooLong - #513

Merged
Tr00d merged 2 commits into
supabase:masterfrom
fresh55:feat/postgrest-uri-too-long
Oct 15, 2026
Merged

Tr00d merged 2 commits into
supabase:masterfrom
fresh55:feat/postgrest-uri-too-long

Conversation

@fresh55

@fresh55 fresh55 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Closes #235. The timeout is in #512.

postgrest-js adds a URL length hint to fetch errors in the client. Against Supabase a long URL never fails there. The gateway returns 414 URI too long over about 8 KB, so PostgrestException.Reason is now UriTooLong for a 414, and there is nothing for a UrlLengthLimit option to do.

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.

parity(postgrest): add URL length validation and timeout protection [from supabase-js]

2 participants