Invalid response. This usually means too large logs or errors. Please avoid logging files or lengthy
- 0
- Self Hosted
Per title: Invalid response. This usually means too large logs or errors. Please avoid logging files or lengthy strings.\nError Code: 500
I very much need to know what the req object from the function consists of.
code:
// This is your Appwrite function
// It's executed each time we get a request
export default async ({ req, res, log, error }) => {
log(`Req: ${JSON.stringify(req)}`) // yields above error...
unless you are sending a very big body data or headers, the request object afaik is pretty much printable and not that big.
also here's a basic idea of the contents - https://appwrite.io/docs/products/functions/develop#request
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...