Node platform api crud example not working

Can someone explain to me if I’m doing something wrong or if the NodeJS CRUD example ( is broke.

Created a service and copied the example code. The only thing changed is the database which I changed to mongodb and created the “todo” scheme. Beside this I only call the function createInternal(…) which should add a record to the todo schema.
When I call the service from the API Docs I get the following response:

“error”: {
“message”: “No record(s) detected in request.”,
“code”: 500

Can someone explain how to do it the right way?

I’m running a Bitnami VM with DF v2.4.2 on google cloud with the async package installed