Topic: Can't login with mdb cli

Hieutran303 free asked 2 years ago


I just install mdb cli but I can't login with terminal. When I go to mdb website and login it works normally, how can this happen?

Expected behavior Login success

Actual behavior Login failed: Unauthorized

Resources (screenshots, code snippets etc.)

❯ mdb -v
Version: 3.5.0
❯ mdb login
? Enter your MDB username Hieutran303
? Enter your MDB password ****************
Error Login failed: Unauthorized

Sebastian Kaczmarek staff answered 2 years ago


Make sure you use your user login to log into the CLI. The one you used here is your display name. You have provided the user login during registration.


Hieutran303 free commented 2 years ago

Thank you, but when I used my username and it success, I encountered another error when try to run mdb init.

❯ mdb init
Error Could not process your request: User not found

What is the problem here?


Hieutran303 free commented 2 years ago

Can you help me? I still can't login via terminal, but I am able to login to MDB Go Dashboard.


Sebastian Kaczmarek staff commented 2 years ago

@Hieutran303 Sorry for the late response. Does the issue still occur? We've been doing a few updates that could cause such problems. Also, try upgrading MDB CLI to the latest 3.6.0 version



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 CLI / MDB GO
  • MDB Version: 3.4.0
  • Device: Laptop
  • Browser: Edge
  • OS: Windows
  • Provided sample code: No
  • Provided link: No