prawcore.exceptions.OAuthException: invalid_grant 错误处理请求

时间:2021-05-26 06:22:36

标签: python praw

我尝试制作一个 reddit 机器人,但它不起作用。

我的代码:

reddit = praw.Reddit(client_id="ID",
                     client_secret="SECRET",
                     user_agent="test",
                     username="WoWBotReddit0",
                     password="PASSWORD",)

print(reddit.user.me())

错误:

prawcore.exceptions.OAuthException: invalid_grant error processing request

注意:我的密码和用户名是正确的

0 个答案:

没有答案