filcole / pycarwings2

Python library for interacting with the NissanConnect EV (aka CARWINGS) telematics service.
Apache License 2.0
33 stars 20 forks source link

Invalid JSON returned #12

Closed BertilJ closed 5 years ago

BertilJ commented 5 years ago

I've started to see this quite regularly in my log. Don't know what it is about yet, but I'll see if I can find that.

2019-02-01 06:02:05 ERROR (SyncWorker_1) [pycarwings2.pycarwings2] Invalid JSON returned

filcole commented 5 years ago

I was seeing the Nissan servers returning HTML error pages instead of JSON, so put in a check to see if valid JSON was being returned. If not, then the above error message was returned.

BertilJ commented 5 years ago

Ok, closing.