hey there ,
i'm , getting this error when try to upload a image to bucket in appwrite cloud
AppwriteException: The current user is not authorized to perform the requested action.
if i'm right we have to pass api key also . but i didn't see any mention of it in docs (maybe i can be wrong).
I am using web sdk , and nextjs with ts.
here's live url : https://host-thing.vercel.app/
here's github link : https://github.com/anuragts/host-thing/blob/main/src/pages/components/Appwrite.tsx
You should NOT be using an API key client side as that would expose it to end users.
As for your problem, what permissions did you set on the bucket?
solved , added permission for guests.
[SOLVED] Authorisation issue in appwrite cloud
Recommended threads
- Server Down
Appwrite services are down. When will they start working again?
- Looking for a Partner
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...