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
- Fulltext index creation fails due to Inn...
I'm running a self-hosted Appwrite 1.8.1 instance and encountering an issue when creating fulltext indexes on a collection. **The Problem:** Fulltext index cre...
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?
- OAuth2 Provider is disabled automaticall...
Hi everyone, I'm using self-host Appwrite 1.7.4. I can setup OAuth2 with Google successfully, however the provider is disabled automatically after one day witho...