Can't build a restful api

I opened this tutorial to learn how to build a restful api, but when I reach the part of sending the url generated on mongodb to Compass, it says " bad auth : authentication failed". I can’t see whether I’m making any mistake, so I need help

You must not have the correct username or password in the string.

Also, make sure you do not include the <> part of the placeholder in your password.

mongodb+srv://someUsername:somePassword@cluster0.xduyh.mongodb.net/testDatabase