Hey all, I have been trying to make a function invocation from dart code but the execution always keeps failing but if I i with similar initial data test the function out from console it works, please do let me know where do I go wrong
I have uploaded the screenshots of my dart code where I am trying to invoke the function along with my Nodejs function code and the error I am getting please do let me know where I am wrong
this is console initial input on which it executes successfully
You're sending string instead of JSON
So you will need using jsonencode
Or decode in the function
https://discord.com/channels/564160730845151244/1126227235960016958/1126228314697257030 I was told here to strictly send it as a string
@D5 What if I first convert it into json
then convert it into string then send
would that work ?
Okay it worked
Thanks a lot
turning it into json then to string worked
[SOLVED] Improper invoking of Functions from Flutter
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...