Not authorized error message when executing command in MongoDB

MongoDB server version: 3.4.7

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

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.