429 Too Many Requests error on starting


#1

Hey, I’m getting this error in my Discord bot app:

(node:7556) UnhandledPromiseRejectionWarning: Error: 429 Too Many Requests
at _response.transport.finalizeRequest.call.then (/rbd/pnpm-volume/e538a34c-c999-4973-b520-7fdb08018320/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:195:23)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)

I would like to hear if there was a fix for this. An invite is ready to get sent to any moderator out there, thanks! :slight_smile:


MOD EDIT: formatting


#2

Hey @Gleeny the fix would depend on where the 429 response code is coming from.

It’s possible you’re getting rate-limited by Glitch because you’re receiving more than 4000 requests per hour, but that’s not what it looks like to me from the error snippet you provided.

More likely your project is being rate-limited by whatever you’re calling to - again based on this little bit of information perhaps a file that you’re trying to download?

We can take a closer look if you provide your project name (no need for an invite), but that’s at least a place to start.