
error: AppwriteException: Invalid data: Value must be a valid string and no longer than 8192 chars
code:
const promise2 = functions.createExecution("647c55d49f0f42exxxxx", {"name": names, "about": details});

names is a list of names, but it works fine when I execute the function from appwrite console with same input

Read the error and look at your input

it says the input can only be string

not even JSON?

But then how do I pass multiple inputs

how are you handling req.payload
in your function code?

user_names = json.loads(req.payload)["name"]

so think about that...json.loads()
...

um ok

Oh

I think I got it
Recommended threads
- What’s the current approach for always o...
Read that it’s not a thing out of the box, but what’s the possible setup here?
- Query.equal error
Hi guys. I'm using Appwrite Cloud, and I'm using version 21 of node-appwrite to benefit from transactions. The problem is I seem to be getting an error when I u...
- Appwrite messaging api error
```=== Push Notification Function Started === Endpoint: https://fra.cloud.appwrite.io/v1 Project: 6899062700398ffeae4f Database: threed-dating-db Notification f...
