Hello. I want to save an image to Storage but I get this error. I can't find a solution. What should I do?
Hey! This means what it says it means, the user is not authorized to create a file :P.
Check your permissions on the bucket. Storage -> {bucket} -> Settings -> Permissions
In your code, this is setting the permission on the file, but not the bucket the file lives in. You'll need to set permission on the bucket itself.
I looked for permissions in auth and couldn't find them. 😐😅 Thank you
I see. I wanted to talk about what I did before.
Thanks again
[SOLVED] Unable to save image to Storage
Ah okay :) Glad you were able to get this fixed!
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...