
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
- React Native (Expo) Google OAuth not red...
Recently, I tested my app and found that the previous hack for the google auth is now not working anymore. After searching and reading docs, I was able to set i...
- How to increate mx upload filesize ?
Hi, I use self hosted appwrite and want to upload files bigger than 30 mB. how can i increase the max filesize? In my special case i want to import a csv file w...
- Does Appwrite work in China / Great Fire...
Quick question - does AppWrite servers work well in Mainland China? We are building a project for predominantly China users so its a make or break! 🙂
