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
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...