Not authorized error message when executing command in MongoDB

MongoDB server version: 3.4.7

db.numbers.find()
Error: error: {
“ok” : 0,
“errmsg” : “not authorized on sakDB to execute command { find: “numbers”, filter: {} }”,
“code” : 13,
“codeName” : “Unauthorized”
}
How to execute this code?

Hi @vernonmillar,

Could you please elaborate? We do not know what you are trying to do with the database. However we have some guides in our documentation that will probably be useful for you

https://docs.bitnami.com/google/infrastructure/mean/get-started/get-started/
https://docs.bitnami.com/google/infrastructure/mean/configuration/create-database/

Happy to help!


Was my answer helpful? Click on :heart:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.