Skip to content

405 Client Error: Method Not Allowed for url: #58

Description

@Anhellikal

Hi After starting my bot with the simple:

from mattermost_bot.bot import Bot

if __name__ == "__main__": Bot().run()
I get the following:
Traceback (most recent call last): File "C:/Users/user/IdeaProjects/mattermost_bot/mattermost_bot-master/mattermost_bot/main.py", line 5, in <module> Bot().run() File "C:\Software\Python\lib\site-packages\mattermost_bot\bot.py", line 27, in __init__ settings.SSL_VERIFY File "C:\Software\Python\lib\site-packages\mattermost_bot\mattermost.py", line 154, in __init__ self.login(team, email, password) File "C:\Software\Python\lib\site-packages\mattermost_bot\mattermost.py", line 158, in login self.user = self.api.login(team, email, password) File "C:\Software\Python\lib\site-packages\mattermost_bot\mattermost.py", line 51, in login p.raise_for_status() File "C:\Software\Python\lib\site-packages\requests\models.py", line 935, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: https://*****/****/users/login

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions