Can't login with mdb cli


Topic: Can't login with mdb cli

Hieutran303 pro premium priority asked 10 months 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 pro premium answered 10 months 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 pro premium priority commented 10 months 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 pro premium priority commented 10 months 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 pro premium commented 10 months 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
  • User: Pro
  • 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
Tags