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
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast