Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Errors using supabase #25

Open
jammy23495 opened this issue Aug 7, 2023 · 4 comments
Open

Errors using supabase #25

jammy23495 opened this issue Aug 7, 2023 · 4 comments

Comments

@jammy23495
Copy link

Can you provide a proper documentation to use Supabase. I have the URL and the key but getting below error while trying to upload the file:
{'statusCode': 400, 'error': 'Invalid JWT', 'message': 'new row violates row-level security policy for table "buckets"'}

Are there any pre-requisites?

@Ayan-Bandyopadhyay
Copy link
Contributor

@jammy23495 I just updated the readme with new instructions. It sounds like you are probably using the supabase public key server side instead of the secret key.

@jammy23495
Copy link
Author

Thanks @Ayan-Bandyopadhyay. I will try it out. Is there any Slack / Discord channels where we can discuss these kind of issues?

@jammy23495
Copy link
Author

jammy23495 commented Aug 8, 2023

@Ayan-Bandyopadhyay I have few questions:

  1. Which key should I use from the below screenshot?
    image

  2. While trying to reset the password, I am getting below message.
    image

@Victorivus
Copy link

@Ayan-Bandyopadhyay I have few questions:

1. Which key should I use from the below screenshot?
   ![image](https://user-images.githubusercontent.com/30603350/259057840-e5aa2e59-3b96-47f9-bd8d-0f18d3cd40f3.png)

2. While trying to reset the password, I am getting below message.
   ![image](https://user-images.githubusercontent.com/30603350/259058187-9fb62654-76c5-4e61-a481-19b40e08de2e.png)

The one tagged as service_role secret

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants