https://supabase.com/ logo
#javascript
Title
# javascript
m

MDobs

12/24/2021, 7:31 PM
on a re-enabled database I'm getting:
"Invalid authentication credentials"
when doing
Copy code
let { data: multiplayer, error } = await supabase
  .from('multiplayer')
  .select('*')
curl also throws the same for this operation. But other APIs work correctly. The anon key is correct.
s

silentworks

12/24/2021, 7:48 PM
This could be due to local storage still having a stale token its trying to use to make requests. Clear your local storage and cookies then try again
m

MDobs

12/24/2021, 8:17 PM
hm no still the same issue and even if that was the case woudn't the curl work? I getting the exact same error
creating a new project with the same table works without issues, also the same code (no changes) used to work before the project went into
pause
s

silentworks

12/24/2021, 9:54 PM
This is weird indeed. If you still have the old project around please report the issue using the feedback widget in the dashboard.
m

MDobs

12/25/2021, 7:47 AM
I will 😊 thanks!