node-red-contrib / node-red-contrib-renault-ze

node-red extension to fetch the status from your renault connected car
Apache License 2.0
19 stars 6 forks source link

TypeError: accounts.accounts is not iterable #57

Closed eRudy closed 2 years ago

eRudy commented 2 years ago

Hi,

Thanks for this great node.

I often see the error "TypeError: accounts.accounts is not iterable" in the console"

I think it's caused by Renault API being unavailable.

Could it be possible to catch this error and return a specific payload (to be used in the flow for notification for exemple) ?

Have a nice day !

Rudy

matzZz commented 2 years ago

https://github.com/node-red-contrib/node-red-contrib-renault-ze/issues/53#issuecomment-1069588771

konne commented 2 years ago

@eRudy just update the version.

eRudy commented 2 years ago

@eRudy just update the version.

I forget to mention I'm already in 1.3.1, and still have the issue multiple times per day.

konne commented 2 years ago

if it is sometimes working, I expect that is an issue from the Renault sometimes. I can not to anything about that