Skip to content
Discussion options

You must be logged in to vote

net.http_collect_response(request_id:=1);
Failed to run sql query: syntax error at or near "raise"

The net.http_collect_response function executes a RAISE,see https://github.com/supabase/pg_net/blob/master/sql/pg_net.sql#L335-L353.

It's deprecated and shouldn't be used. For now you can query the net._http_response directly. Once supabase/pg_net#62 it's done that won't be necessary anymore.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by steve-chavez
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants