zerodytrash / TikTok-Live-Connector

Node.js library to receive live stream events (comments, gifts, etc.) in realtime from TikTok LIVE.
https://discord.gg/2c6kX6g3Pa
MIT License
1.34k stars 279 forks source link

Request failed with status code 429 #135

Open MrPatryk opened 1 year ago

MrPatryk commented 1 year ago

Hello, I got error while i try to connect to tiktok live :

Failed to connect Error: Request failed with status code 429
    at createError (/home/runner/Nodejs/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/home/runner/Nodejs/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/home/runner/Nodejs/node_modules/axios/lib/adapters/http.js:312:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Stream is live, I even tried to update lib and still this error. Any fix?

bakteribaik commented 1 year ago

The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time ("rate limiting")

Source