Invalid function: \"list-collection\

Invalid function: “list-collection”, and for any request is status 400.
What should i do?

https://nrnhzxloybjl.usemoralis.com:2053/server/

that is a cloud function that you defined?

Yes, it is. image , and all of functions return 400 (code 141)

maybe is an issue with the server, did you try to restart/update it?

Yes, 3 times i restart it, and 10+ times i redeploy cloud code

it looks like it was an error in cloud code and that is why it doesn’t work.

did you update the cloud code recently?

I found this in the server logs

2023-01-27T08:57:40.114Z - CLOUD FUNCTION ERROR PLEASE CHECK YOUR CLOUD FUNCTION CODE
2023-01-27T08:57:39.988Z - TypeError: Cannot read properties of undefined (reading 'define')

Thank you so much. Where I can find this logs?

in the database dashboard interface, where you see the tables, there is also logs and errors in the menu on the left after you open the database dashboard