Discord | Error: input stream: Status code: 429

I give the command to music the bot is silent and this error appears

at ClientRequest. (/rbd/pnpm-volume/2c155fcb-af40-4504-a23a-6effcecc3ae0/node_modules/.registry.npmjs.org/miniget/2.0.1/node_modules/miniget/dist/index.js:150:31)
at Object.onceWrapper (events.js:284:20)
at ClientRequest.emit (events.js:196:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:23)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
at TLSSocket.socketOnData (_http_client.js:452:22)
at TLSSocket.emit (events.js:196:13)
at addChunk (_stream_readable.js:290:12)
at readableAddChunk (_stream_readable.js:271:11)
at TLSSocket.Readable.push (_stream_readable.js:226:10)


$ curl -I https://discord.com/api/v7/gateway

HTTP/1.1 200 OK
Date: Tue, 21 Jul 2020 19:25:46 GMT
Content-Type: application/json
Content-Length: 35
Connection: keep-alive

Try running curl -i https://discordapp.com/api/v7/gateway
For some reason that still seems to be where to check.

thanks, I don’t remember how I fixed the error, then I can delete this topic

1 Like

I will flag for staff attention.

I have the same error as they do, what would I be looking for after I run curl -i https://discordapp.com/api/v7/gateway

Hi @Natemo6348, you’re looking for something yo do with 429 too many requests. If you get something like that then your app has been ratelimited and you should post your project name in this thread:

I checked and didn’t see anything about 429 too many requests, so I went and made a new YouTube API Key since that seemed to be the problem with others (YouTube rate limiting), and I no longer get the error and everything works again.

Yes, that’s only for checking discord ratelimits.