Learning Activity: Creating New Roles

I’m on chapter 2, trying to finish my activity but facing this weird error when running the test. Does anyone know what I should do?

2 total, 1 passed, 0 skipped:
[PASS] “The server is running on localhost:27000”
[FAIL] “The role insertAndFindTransactions has the actions insert and find on the transactions database”

Did you create the ‘emailsAdmin’ with the dbAdmin role on the emails database?

Just adding:

the user already exists

 "user" : "emailsAdmin",
                "db" : "admin",
                "roles" : [
                        {
                                "role" : "dbAdmin",
                                "db" : "emails"
                        }
                ],

There was an error on the role name. Fixed.

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