Topic: Login failed: Unauthorized

davidr free asked 3 years ago


Expected behavior

Actual behavior

I can’t use CLI after installing cli with "npm install -g mdb-cli », i get get "Login failed: Unauthorized » error.
username davidr

Resources (screenshots, code snippets etc.)
mdb login


theomorinokwind free answered 3 years ago


hi, I have the exact same problem, how can I solve it ?

Enter your MDB username theomorinokwind
Enter your MDB password *****************
(node:1066) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
Error Login failed: Unauthorized

Sebastian Kaczmarek staff commented 3 years ago

@theomorinokwind You are using your display name as a username which is not correct. Try using Theo_MORIN instead (which is what you provided during registration)


Keyson Basyal free commented 1 year ago

kjhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj


Sebastian Kaczmarek staff answered 3 years ago


Sorry for the inconvenience. We had a little inconsistency in your user data. It should work fine now.


free commented 3 years ago Edit Delete

I have the same problem. I created an account using my github login


Sebastian Kaczmarek staff commented 3 years ago

What do you mean by "using my github login"? We don't provide a way to log in via GitHub. Could you please explain?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: macbook pro
  • Browser: none
  • OS: Mac OsX
  • Provided sample code: Yes
  • Provided link: No