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
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...