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
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...