https://supabase.com/ logo
#help
Title
# help
d

daviscup

06/15/2022, 1:01 AM

https://www.youtube.com/watch?v=qY_iQ10IUhs

I am doing the Supabase Auth Deep Dive right now and somehow I'm not able to send http requests to my database. Sending a get request with the same RESTED extension to
https://[mysupabase].supabase.co/rest/v1/[my_table_without_RLS]?select=*
using 2 headers: 1.
apikey: <my anon/public key>
2.
Authorization: Bearer <my anon/public key>
As far as I can tell, I'm doing everything exactly like the guy in the video but I'm getting the response
An error occurred while fetching the resource: TypeError: Failed to fetch
. I disabled all firewalls and double checked all inputs. Did smth. about the API change since the video is over 1 year old?
n

Needle

06/15/2022, 1:01 AM
Hello @daviscup! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g

garyaustin

06/15/2022, 1:06 AM
At a quick glance your url is correct and you say you have the correct headers... You can always go to the API tab in supabase dashboard and pick your table and bash to see the correct format.
d

daviscup

06/15/2022, 1:13 AM
I just tested in on another browser and it works. seems to be an issue with edge somewhow. So weird. Thanks for letting me know about the bash tab, I was able to confirm the correct address/headers!
g

garyaustin

06/15/2022, 1:14 AM
I've not had issues with Edge/Chrome with the supabase-js client.
d

daviscup

06/15/2022, 1:16 AM
Strangely, it works fine in Chrome. same exact inputs
left monitor is edge, right one chrome. 🤷‍♂️
g

garyaustin

06/15/2022, 1:23 AM
Very odd... Edge:
latest Edge and 2.5.0 Rested FWIW
d

daviscup

06/15/2022, 1:28 AM
O_o who knows, mb i switched smth on or off in my edge settings. just glad it works in chrome, all good 😄
n

Needle

06/15/2022, 7:39 AM
Thread was archived by @daviscup. Anyone can send a message to unarchive it.