I seem to be running into the very same issue:
Error: no open connections
at ....node_modules/mongodb/lib/mongodb/db.js:729:44
at [object Object]._executeQueryCommand (....node_modules/mongodb/
lib/mongodb/db.js:859:5)
at [object Object].nextObject (....node_modules/mongodb/lib/
mongodb/cursor.js:482:13)
Haven't looked at the code there yet though.
Any ideas what's causing it?
Thanks,
Art
Will try to isolate that into reproducible test case.
Thanks
Is this not a better question to the author of the rest wrapper for the driver ? maybe he is using the driver weirdly.