Skip to content
Back

Upload failed; AppwriteException: Invalid `permissions`

  • 1
  • React Native
Zefinitum
17 Apr, 2025, 11:11

Hi guys! I need your help badly. I have created an avatar component. When I want to change my avatar with a picture from my gallery, as soon as I select the picture, I receive this error: Upload failed: [AppwriteException: Invalid permissions param: Permissions must be an array of strings.]

I have tried a lot of things and I have talked to ChatGPT more than with my family members. Could any of you give a helping hand? I am not a good coder and I have no clue why this is not working. If you require more information and screenshots of the code or appwrite console, please ask. I have attached the code of the component and the tab where it is used. I will try to set up a GitHub for people to see the whole project if needed.

TL;DR
Error: Upload failed with 'AppwriteException: Invalid `permissions` param: Permissions must be an array of strings.' Developer created an avatar component, but encounter an error when trying to change avatar image. Solution involves ensuring permissions are set as an array of strings. Additional code or GitHub repo may be requested for further assistance.
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