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
- [For Hiring][Remote]
I am a skilled Software Engineer with a strong background in full stack development, web, mobile, game development, and problem-solving. With experience in lead...
- Got an issue with "sdk.InputFile.fromPat...
I'm sorry if I did something wrong when I try to upload a file with InputFile.fromPath, but I can't figure what. I'm on node v.18 and node-appwrite v.13 ```` ...
- Query issue when getting the document fr...
I get an error when i try to get document from the database and use query to select only 1 column. **Error:** `java.lang.NullPointerException: null cannot be c...