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
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...