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
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...