St2login admin fails may I know the solution why it fails

St2 login admin -p Ch@ngeMe
Error:failed to log in as admin :401 clien error:unauthorised
Message: invalid or missing credentials for url:http://127.0.0.1:9100/tokens

Did you create a user called admin? The default account created by the bash installer is st2admin not admin.

Sry it’s st2admin.typo error.eventhough same errors.may I know the solution

What installation method did you use? What version of stackstorm?

Please also take a look at the st2 logs in particular st2api.log and st2auth.log.

Please check all st2 services are running and mongod also running.