fayeOriginal post
Quality
Heyo.
I tried sending a body to a function, but I got:
TypeScript
[AppwriteException: Invalid `body` param: Value must be a valid string and exactly 0 chars]So am I only allowed to send an empty body? What if I want to send a body?
Summary
Issue: Error message stating "Function body must be exactly 0 chars" despite wanting to pass a body to a function. Developer suspects the error is misleading and suggests sending an empty string instead of undefined.
Solution: It seems the error message is misleading. Try sending an empty string as the body instead of undefined if you wish to pass a body to the function.