DEV Community

Ashim Rudra Paul
Ashim Rudra Paul

Posted on

Mongo Server Error : user is not allowed to do action [insert] on [nodeMongoCrud.users]

Image description

If You Face This Error .Then Follow The Stapes ..

To create or modify a database user, please go to cloud.mongodb.com and go to the Database Access tab and make sure that your user has the readWriteAnyDatabase@admin access so you can read or write the data in your MongoDB database without any permission restriction error.

Image description

And if this is not the case please click on Edit button and change the Built-in Role to *Read and Write to any Databases
*

Image description

Top comments (0)