Skip to content
Back

No execution entry on Invalid document structure: Attribute "logs" has invalid type.

  • 0
  • Databases
  • Functions
  • Self Hosted
Dies das
28 Feb, 2025, 15:37

Hi, on my Self-Hosted instance (v1.6.0) 2 of my functions affect a collection which seems to give an error: " Invalid document structure: Attribute "logs" has invalid type. Value must be a valid string and no longer than 1000000 chars" I found out because i gave it to the client calling the function and printed it in debug session. The executions since this error occures are no where to be found in the backend interface (looks as if it was not executed). The functions still do what they should do but because this error is thrown somewhrere they do not return the OK 200 they should so the client throws 'Unknown Errors' to the user.

It reads for me like the log of the collection is to long but i don't know any way to clear the log or allow larger log.

How to solve this?

(already done to no avail:

  • restarting the docker containers
  • redeploying the functions in question )

wish you all a wonderfull day Dies das

TL;DR
Two functions on Self-Hosted instance are causing error "Invalid document structure: Attribute "logs" has invalid type." Executions are missing from backend. Functions still work but don't return OK 200 due to error. Solutions tried: restart docker, redeploy functions. No success.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more