You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the following error when using getAll() method with just a callback and no list of id's:
MongoError: The 'cursor' option is required, except for aggregate with the explain argument at Function.MongoError.create (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/error.js:31:11) at /src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/pool.js:497:72 at authenticateStragglers (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/pool.js:443:16) at Connection.messageHandler (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/pool.js:477:5) at Socket.<anonymous> (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/connection.js:331:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10)
Get the following error when using getAll() method with just a callback and no list of id's:
MongoError: The 'cursor' option is required, except for aggregate with the explain argument at Function.MongoError.create (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/error.js:31:11) at /src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/pool.js:497:72 at authenticateStragglers (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/pool.js:443:16) at Connection.messageHandler (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/pool.js:477:5) at Socket.<anonymous> (/src/grid_plus/services/pricing-service/node_modules/mongodb-core/lib/connection/connection.js:331:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10)
Appears that this was an issue with the Mongo driver that was fixed here: mongodb/node-mongodb-native@beccc83
Might be as simple as updating to a new version of mongo.
The text was updated successfully, but these errors were encountered: