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
i have a problem on the code "UnhandledPromiseRejectionWarning: #"
"UnhandledPromiseRejectionWarning: Unhandled promise rejection."
pls help 🥰
I believe you have exceeded your YouTube Data V3 API quota of 10,000 requests which you can check on console.cloud.google.com by clicking into API Library -> YouTube Data V3 -> Quotas.
This happened to me within a few hours of running the script yesterday, with 8 channels in the config file.
I found this, which if you add to the end of the .js file, should allow you to see the reason for the UnhandledPromiseRejectionWarning:
process.on('unhandledRejection', (reason, p) => {
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
// application specific logging, throwing an error, or other logic here
});
You can increase the check interval on line 17 of the .js by changing
setInterval(check, 20...
to (to make it 3 minutes):
setInterval(check, 180...
i have a problem on the code "UnhandledPromiseRejectionWarning: #"
"UnhandledPromiseRejectionWarning: Unhandled promise rejection."
pls help 🥰
The text was updated successfully, but these errors were encountered: