Rank 4: Virtual Machine
I set endpoint, projectID, key
Still didn't @D5
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 4: Virtual Machine
I set endpoint, projectID, key
Still didn't @D5
Moderator
Moderator
In your appwrite dashboard
Moderator
Wait
Moderator
@dammy Do you get such error after triggering the function through appwrite dashboard manually?
Rank 4: Virtual Machine
Ooo, I appreciate
Moderator
So does that solves your problem?@dammy
Moderator
If not tell me
Rank 4: Virtual Machine
Worked, I appreciate you @D5
Rank 4: Virtual Machine
[solved] - user_unauthorized in appwrite function execution
Moderator
[SOLVED] user_unauthorized in appwrite function execution
Moderator
Ops, we just changed at the same time 😆
Rank 4: Virtual Machine
I wanted saying so 😊
Rank 4: Virtual Machine
You're the best @D5
Rank 4: Virtual Machine
You're a flutter developer?
Moderator
Yes
Moderator
Thanks 
Admin
Make sure to put the permission in your appwrite.json or it will be wiped after the next deploy
Rank 4: Virtual Machine
Okay then
Though I go to console for permit each time I deploy
Admin
Sorry I don't understand
Rank 4: Virtual Machine
Anytime I deploy the functional fresh I will always go to my console and give it permission for execution
Moderator
You can define it in your appwrite.json file located in the function folder you deploy if you want to make it predefined and not having to set permissions each time you deploy your function. But sincerely, I just go to the console and give them manually, don't want to get new errors accidentally 😆
Moderator
But it's true the best solution is defining it in the appwrite.json file
Rank 4: Virtual Machine
Okay then, I'll check for an example
Rank 4: Virtual Machine
lastly, I couldn't find how to receive data from function execute on client side after passing jsondecode and work with it in function code from server and receiving response from server result