Hey, I followed the same, throws this error.

UnhandledPromiseRejectionWarning: Error: Request failed with status code 429

at createError (/Users/devansh/Desktop/DebateAI/node_modules/axios/lib/core/createError.js:16:15)

at settle (/Users/devansh/Desktop/DebateAI/node_modules/axios/lib/core/settle.js:17:12)

at IncomingMessage.handleStreamEnd (/Users/devansh/Desktop/DebateAI/node_modules/axios/lib/adapters/http.js:322:11)

at IncomingMessage.emit (events.js:326:22)

at endReadableNT (_stream_readable.js:1241:12)

at processTicksAndRejections (internal/process/task_queues.js:84:21)

(node:49018) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

(node:49018) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Devansh Bhushan
Devansh Bhushan

Written by Devansh Bhushan

Software engineer building apps to be free from 9-5. [growfol, makerping, moonmvp and more...]

No responses yet

Write a response