You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: 429 calling https://discord.com
File "/usr/src/app/core/base-service/check-error-response.js", line 31, in <anonymous>
log.error(new Error(`${res.statusCode} calling ${res.requestUrl.origin}`))
File "/usr/src/app/core/base-service/base.js", line 299, in Discord._request
return checkErrorResponse(httpErrors, logErrors)({ buffer, res })
File "/usr/src/app/core/base-service/base-json.js", line 60, in Discord._requestJson
const { buffer } = await this._request({
File "/usr/src/app/services/discord/discord.service.js", line 81, in Discord.handle
const data = await this.fetch({ serverId })
File "/usr/src/app/core/base-service/base.js", line 473, in Discord.invoke
serviceData = await serviceInstance.handle(
...
(2 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
Discord is one of our most popular services. In the last 24 hours, we've served over 1 million discord badges from the origin! (i.e: excluding badges cached at the CDN)
This is partly due to the popularity of the service, but also our discord badge shows the number of users online now so we don't cache it for long because the data benefits more from being fresh than a lot of our badges.
Although we serve the majority of those badges successfully, we also see a lot of 429 Too Many Requests responses from discord's API. In the last 24 hours, we've logged over 1,100 of these. That is a low proportion of the total api traffic, but also very much a non-zero number of failures.
In cache some badges for longer #9785 I bumped the max-age on the badges up from 1 minute to 5 minutes, but we are still hitting rate limits.
Our previous rate limit was set to 500/60s if I'm not mistaken, I've asked for it to be raised to 2000/60s. One of the two previous points of contact no longer seems to work at Discord (Zack), but I've contacted the second one (Mason). Will keep you posted when I hear back.
Sentry Issue: SHIELDS-CF
The text was updated successfully, but these errors were encountered: