
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
- Does Python ML runtime support ultralyti...
Tried to push a function that performs yolo v8 detection on images in bucket. The deployment runs for 15 mins and fails. What am I doing wrong?
- Appwrite Email Verification Query!!
Hi team I've created an Appwrite cloud function to send an email verification to a user. My understanding is that server-side code should use the Users API, bu...
- Problem marking Apple Push-Notificaton a...
I was able to set up Push-Notifications via Appwrite function for my iOS App. I now wanted to increase the Badge count everytime the user gets a notifcation. Us...
