Sudden UnhandledPromiseRejectionWarnings
Hi,
We recently, not sure exactly when but probably since 1 or 2 days, we started to experience UnhandledPromiseRejectionWarnings because the length of the 'serie' variable in a device.sendData() exceeds 30 characters. This code has been in place for quite a while and the analysis that throws the warning has not changed in at least 8 days.
Has anything changed in the API recently that could cause this issue?
Kind Regards,
Erwin
- [2022-03-22 08:53:19] (node:541) UnhandledPromiseRejectionWarning: Error on object parse: {'serie':[{'message':'String must contain at most 30 character(s)','errorCode':'too_big','path':['serie']}]} (node:541) 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: 4)