Hi,
I’m new to mattermost. I tried to create user via command line. I used this command:
mmctl user create --email user@example.com --username newuser --password MySecurePass!
I tried with both the root and mattermost user, but I’m still receiving the same error. Here is the log from the mattermost logs:
“level”:“warn”,“msg”:“Error while creating session for user access token”,“caller”:“app/session.go:113”,“error”:“createSessionForUserAccessToken: Invalid or missing token., resource "UserAccessToken" not found, id: token=XXXXXXXXXXXXXXX”}
{“timestamp”:“2025-02-05 10:10:40.999 -05:00”,“level”:“info”,“msg”:“Invalid session”,“caller”:“web/handlers.go:298”,“error”:"GetSession: Invalid session