We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Calling RPC functions returns 'No API key found in request'
(this is using a local supabase no idea what happens with the hosted version)
To Reproduce Call a rpc function.
Expected behavior works the same as with 0.3.3
Tried both on macos and iphonesimulator.
I made it work by specifying the apiKey in the headers list of supabase.initialize()
apiKey
btw: both rpc() and rpc().execute() have the same issue.
All others requests works properly without specifying the apiKey header.
Normal request (from the same session but not using rpc):
flutter: HTTP: GET http://localhost:4221/rest/v1/workspace_ops?select=%2A&offset=0&limit=1000&order=created_at.desc.nullslast - { X-Client-Info: supabase-flutter/1.0.0-dev.8, apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs, Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNjYzOTQwNTM1LCJzdWIiOiI0NjlkNmFlZS00YTdhLTQzN2UtODhhOC04ZGI0ZDMyY2MzOTMiLCJlbWFpbCI6ImdAZy5nIiwicGhvbmUiOiIiLCJhcHBfbWV0YWRhdGEiOnsicHJvdmlkZXIiOiJlbWFpbCIsInByb3ZpZGVycyI6WyJlbWFpbCJdfSwidXNlcl9tZXRhZGF0YSI6e30sInJvbGUiOiJhdXRoZW50aWNhdGVkIiwic2Vzc2lvbl9pZCI6ImY1NDY2YThhLWI5NTYtNDAxZi05ZDEyLWNiZmU5NDI5Nzk2YyJ9.pM89QjBn0neRgDvGiVRFvgqXxogIxRk5IDDn5v6KesM, Prefer: count=exact, Accept-Profile: public }
rpc request:
flutter: HTTP: POST http://localhost:4221/rest/v1/rpc/push_ws - { X-Client-Info: supabase-flutter/1.0.0-dev.8, Prefer: count=exact,count=exact, Content-Type: application/json; charset=utf-8 }
The text was updated successfully, but these errors were encountered:
Same problem
Sorry, something went wrong.
This is already fixed in supabase/supabase-dart#143 , but it's not released yet.
awesome! any eta for the release ?
@ajonno supabase-flutter containing this update should be released in the next day or two!
Successfully merging a pull request may close this issue.
Describe the bug
Calling RPC functions returns 'No API key found in request'
(this is using a local supabase no idea what happens with the hosted version)
To Reproduce
Call a rpc function.
Expected behavior
works the same as with 0.3.3
Tried both on macos and iphonesimulator.
I made it work by specifying the
apiKey
in the headers list of supabase.initialize()btw: both rpc() and rpc().execute() have the same issue.
All others requests works properly without specifying the apiKey header.
Normal request (from the same session but not using rpc):
rpc request:
The text was updated successfully, but these errors were encountered: