You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "AxiosError: Request failed with status code 429".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v19.1.0
The workaround would be to await the response, something like this
It seems some API call restrictions or it can't handle the back to back api calls?
probing address gap...node:internal/process/promises:289
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "AxiosError: Request failed with status code 429".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v19.1.0
The workaround would be to await the response, something like this
try {
const result = await axios.post(
YOUR_URL
, {});} catch (error) {
console.error(error);
}
The text was updated successfully, but these errors were encountered: