Apple Developer
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.