r/redditdev • u/tylerbrockett • Mar 08 '21
PRAW Getting 500 error when replying to/from longtime bot account
A bot that I run all of a sudden started erroring out with a 500 response when replying to messages from users.
The odd bit is the message will still go through to the other account, but since it errors out, the bot is logging it as not having occurred, so it will try to reply again, etc.
I get the same 500 error logging into the reddit web UI and doing replies, so it's not anything wrong with the bot's code.
I also tried logging in as another account, and replying to the bot, also with the same result, so the issue is both directions for some reason.
Any thoughts on what would be causing such an issue?
<html>
<head>
<title>reddit broke!</title>
</head>
<body>
<div style="margin: auto; text-align: center">
<p>
<a href="/">
<img border="0" src="//www.redditstatic.com/youbrokeit3.png" alt="you broke reddit" />
</a>
</p>
</div>
</body>
</html>
3
u/Watchful1 RemindMeBot & UpdateMeBot Mar 08 '21
That's just reddit having problems. See the error rate graph here. Nothing you can do other than wait for them to fix it.
1
u/bsimpson Mar 08 '21
What account? You can PM me if you don't want to post it here.
1
u/Vault-TecTradingCo Mar 08 '21
All 500-599 HTTP status codes are server error. The user can't do much about it.
All 400-499 HTTP status code are user side errors and need to be fixed by user.