Lab 1.6 - Successful, but answer is wrong

My entire lab works great and I am able to authenticate adam with the old password, change the password, and authenticate w/ the new password. When I submit the validation script I get the answer wrong. This has happened 2 times and I have 1 more chance remaining!!!???

{ unauthorizedStatus: {“set”:“myReplSet”,“date”:“2019-12-12T02:39:41.333Z”,“myState”:1,“term”:{“floatApprox”:3},“heartbeatIntervalMillis”:{“floatApprox”:2000},“members”:[{"_id":0,“name”:“database.M310.mongodb.university:31160”,“health”:1,“state”:1,“stateStr”:“PRIMARY”,“uptime”:420,“optime”:{“ts”:{“t”:1576117983,“i”:2},“t”:{“floatApprox”:3}},“optimeDate”:“2019-12-12T02:33:03.000Z”,“electionTime”:{“t”:1576117983,“i”:1},“electionDate”:“2019-12-12T02:33:03.000Z”,“configVersion”:1,“self”:true},{"_id":1,“name”:“database.M310.mongodb.university:31161”,“health”:1,“state”:2,“stateStr”:“SECONDARY”,“uptime”:404,“optime”:{“ts”:{“t”:1576117983,“i”:2},“t”:{“floatApprox”:3}},“optimeDate”:“2019-12-12T02:33:03.000Z”,“lastHeartbeat”:“2019-12-12T02:39:39.734Z”,“lastHeartbeatRecv”:“2019-12-12T02:39:40.696Z”,“pingMs”:{“floatApprox”:0},“syncingTo”:“database.M310.mongodb.university:31162”,“configVersion”:1},{"_id":2,“name”:“database.M310.mongodb.university:31162”,“health”:1,“state”:2,“stateStr”:“SECONDARY”,“uptime”:399,“optime”:{“ts”:{“t”:1576117983,“i”:2},“t”:{“floatApprox”:3}},“optimeDate”:“2019-12-12T02:33:03.000Z”,“lastHeartbeat”:“2019-12-12T02:39:39.734Z”,“lastHeartbeatRecv”:“2019-12-12T02:39:41.009Z”,“pingMs”:{“floatApprox”:0},“syncingTo”:“database.M310.mongodb.university:31160”,“configVersion”:1}],“ok”:1}, memberStatuses: [“PRIMARY”,“SECONDARY”,“SECONDARY”] }

If you can login without a username/password then you haven’t met this requirement:

Also, remember not to post potential lab answers.

1 Like

Hi @Babak_73387,

Looking at your output, it seems like you have missed some steps mentioned in the lab requirements.

Your value for key unauthorizedStatus is incorrect. Please retry the lab and then paste the JSON object with two keys: unauthorizedStatus and memberStatuses in the Answer box.

Please let me know, if you have any questions.

Thanks,
Sonali