Error in test data generator

Anton Sorokin shared this problem 6 years ago
Solved

Test data generator always opens with some 'test' database (I don't have such database anywhere else in the app) by default which causes the following error:

{

"message" : "not authorized on test to execute command { listCollections: true, filter: {}, cursor: {} }",

"stack" : "MongoError: not authorized on test to execute command { listCollections: true, filter: {}, cursor: {} }" +

"at queryCallback (...\\AppData\\Local\\Programs\\nosqlbooster4mongo\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\cursor.js:223:25)" +

"at ...\\AppData\\Local\\Programs\\nosqlbooster4mongo\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\connection\\pool.js:541:18" +

"at _combinedTickCallback (internal/process/next_tick.js:73:7)" +

"at process._tickCallback (internal/process/next_tick.js:104:9)",

"name" : "MongoError",

"ok" : 0,

"errmsg" : "not authorized on test to execute command { listCollections: true, filter: {}, cursor: {} }",

"code" : 13,

"codeName" : "Unauthorized"

}

Replies (1)

photo
1

Thank you for your feedback. We plan to fix the issue in the next update.

photo
1

Fixed in version 4.5.0.

photo
Leave a Comment
 
Attach a file