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
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...