Im creating an algorithm using Node.js. I have all of my data linked up to a firebase database and am trying to revive. The problem is i need a lot of requests and after i try to execute around 5-8 requests i receive the error-
(node:1167) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'weather' of undefined
I am unsure weather there is a limit of requests i can make or if i am not understanding what a UnhandledPromiseRejectionWarning really is.
Please help