Closed
Description
I've been trying to upload a file to my Supabase storage. I am trying to insert a file into a public bucket, I've created basic policies to insert, update and delete. when I try to upload a file though it returns a 400 error, with no error message
Here's my code:
I've tried both the accessToken and the api key in my headers and neither gives me access. In fact, whenever I use the apis the error message then says 'invalid JWT'. The only thing that works is my secret_role key