An error occured sending the message Code: 429

Greetings - my Discord Server Stats plugin, in addition to Server Status plugin doesn't appear to be working at the moment. I'm seeing this being spammed in my server console:

[Discord Server Stats] An error occured sending the message Code: 429 Message: {"code": 0, "message": "You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent this moving forward."}
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)​

 

Does anyone know if this is related to the issue that happened 2 days ago related to the Discord Extension needing an update?

EDIT: I updated the Discord Extension yesterday to the latest version I saw which was v2.1.5, of which I shut the server down, FTP'd the new .dll and started the server back up. All was good. But this issue started today after a scheduled server restart @ 7am CST.

Update: I unloaded both plugins and waited a bit then just reloaded them, and they appear to be working again. But I'm curious if I'll see the same thing after some time. I'll keep an eye on it and report back.

This isn't really an issue with this plugin. That error means some discord plugin / extension made too many invalid attempts to the API. If you're using the extension make sure you're running the latest version as discord made some changes that broke it.

@MJSU thanks for the reply - ya, not sure what was going on, I did have the latest Discord Extension in place already prior to this happening, so not sure why that would have happened. From the details in the link in the error it indicates the following:

All bots can make up to 50 requests per second to our API. This is independent of any individual rate limit on a route. If your bot gets big enough, based on its functionality, it may be impossible to stay below 50 requests per second during normal operations.

Global rate limit issues generally show up as repeatedly getting banned from the Discord API when your bot starts (see below). If your bot gets temporarily CloudFlare banned from the Discord API every once in a while, it is most likely not a global rate limit issue. You probably had a spike of errors that was not properly handled and hit our error threshold.

So, maybe it was related to all of the Discord Extension calls in the past 2 days? Not sure... as of right now, it looks fine.
MONSTRO
@MJSU thanks for the reply - ya, not sure what was going on, I did have the latest Discord Extension in place already prior to this happening, so not sure why that would have happened. From the details in the link in the error it indicates the following:So, maybe it was related to all of the Discord Extension calls in the past 2 days? Not sure... as of right now, it looks fine.

Yeah, that could cause it for sure and would be my guess why it happened. If it's not occurring anymore after updating to the latest extension, then everything should be good.

Uh oh... this is happening again.. anyone else?

EDIT #1: Saw there was an update to the Discord Extension - downloaded new .dll, installed on servers and rebooting them now.

EDIT #2: OK that didn't seem to make a difference... wonder what's causing this?