0xSaurabhx / WhatsappGPT

Whatsapp bot powered by ChatGPT, which helps for any needs such as for shop, freelancer or any business.
1 stars 1 forks source link

Error code status 429 #1

Open venusitaa opened 2 weeks ago

venusitaa commented 2 weeks ago

Hello, i've been trying to setup the bot and when i run, i get flooded with this message:

Error: Request failed with status code 429 at createError (C:\Program Files\nodejs\WhatsappGPT-main\node_modules\openai\node_modules\axios\lib\core\createError.js:16:15) at settle (C:\Program Files\nodejs\WhatsappGPT-main\node_modules\openai\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (C:\Program Files\nodejs\WhatsappGPT-main\node_modules\openai\node_modules\axios\lib\adapters\http.js:322:11) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, Followed by hundreds of lines.

0xSaurabhx commented 1 week ago

Hello, i've been trying to setup the bot and when i run, i get flooded with this message:

Error: Request failed with status code 429 at createError (C:\Program Files\nodejs\WhatsappGPT-main\node_modules\openai\node_modules\axios\lib\core\createError.js:16:15) at settle (C:\Program Files\nodejs\WhatsappGPT-main\node_modules\openai\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (C:\Program Files\nodejs\WhatsappGPT-main\node_modules\openai\node_modules\axios\lib\adapters\http.js:322:11) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, Followed by hundreds of lines.

The error code 429 indicates that you are being rate-limited by the OpenAI API.

0xSaurabhx commented 1 week ago

I have made minor changes, so let me know once you check the latest version.