Back

[SOLVED] Unable to save image to Storage

  • 0
  • Android
  • Storage
Doğaç Tanrıverdi
21 Dec, 2023, 15:13

Hello. I want to save an image to Storage but I get this error. I can't find a solution. What should I do?

TL;DR
User is unable to save an image to Storage and is seeking a solution. Solution: The user needs to check their permissions on the bucket. They can do this by going to Storage -> {bucket} -> Settings -> Permissions and making sure they have the necessary permissions to create a file.
Kenny
21 Dec, 2023, 15:20

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

Kenny
21 Dec, 2023, 15:21

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.

Doğaç Tanrıverdi
21 Dec, 2023, 15:24

I looked for permissions in auth and couldn't find them. 😐😅 Thank you

Kenny
21 Dec, 2023, 15:30
Doğaç Tanrıverdi
21 Dec, 2023, 15:33

I see. I wanted to talk about what I did before.

Doğaç Tanrıverdi
21 Dec, 2023, 15:33

Thanks again

Doğaç Tanrıverdi
21 Dec, 2023, 15:33

[SOLVED] Unable to save image to Storage

Kenny
21 Dec, 2023, 15:41

Ah okay :) Glad you were able to get this fixed!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more