breqdev/flask-discord-interactions

Suddenly getting 405 error

Closed this issue · 1 comments

Everything was working fine yesterday and now when I try to run my flask app locally I get this error
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://discord.com/api/v10/oauth2/token

When I click the link I get this description
{ message: "405: Method Not Allowed", code: 0 }

At a loss for what's happening here, I did some googling and stackoverflow says to use post and not get but the code here uses a post method. Tried updating my secret key as well but I didn't really think that was the issue.

May have been being rate limited, commented out .update_commands and no longer getting an error