Hello guys,
I'm using the appwrite cloud.
By executing a GET query on my endpoint: http://aaaaaaaa.appwrite.global/ With the following json body:
{
"hello": "world"
}
And with the following implementation
export default async ({ req, res, log }) => {
log(req.bodyText);
return res.json({ message: "OK" });
};
I'm expecting to see my body in the Logs section of my Executions panel according to the documentation. But here nothing is displayed. Why ?
I also notice that doing log(req) turns into a error 500.
Thanks for help!
Appwrite cloud functions: req data not displayed in log
Recommended threads
- No permissions provided for action 'read...
I have a very weird error; In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows. The funct...
- Repository directory size should be less...
Whenever I create a function i get the error above. Is there a way to get around this? How do I fix this?
- "Waiting" executions
For my React Native App, I have had no issues deploying a function in Appwrite & the executions either working or failing. Now I am getting status code - 0 & j...