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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.