Closed paddatrapper closed 8 years ago
Fixed by changing the BOT_URL
to
BOT_URL = 'https://mattermost.domain.com/api/v3'
I just want to add that I had the same issue and was at a loss since none of the proposed solutions were working, I then printed out p.text and found that the error was that the bot user's email was not verified. I had enabled email verification for everyone after the bot went live and hence it was getting blocked. Just putting this in here in case it helps someone.
{"id":"api.user.login.not_verified.app_error","message":"Login failed because email address has not been verified","detailed_error":"","request_id":"xxxxxxxxxxxx","status_code":401}
I'm getting
My settings are:
I have tried the suggestions in #2 and #16, and tried other version values, but this has not helped.
I'm running mattermost v3.2 on Debian stable