FlyingDiver / Indigo-Connected-Drive

Plugin for the BMW Connected Drive portal
MIT License
3 stars 0 forks source link

get_account error #16

Closed turribeach closed 2 years ago

turribeach commented 2 years ago

Got this after a few successful refreshes:

Connected Drive Warning BMW Connected Drive Account: get_account error:

Obviously some error on calling the API but it will be good if we get a bit more info on the error? The plugin Event Logging Level is already at "Detailed Debugging Messages".

turribeach commented 2 years ago

Second failed update had more details, maybe slightly different failure point?

Connected Drive Warning BMW Connected Drive Account: get_account error: Server error '502 Bad Gateway' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1653424099910&tireGuardMode=ENABLED' For more information check: https://httpstatuses.com/502

FlyingDiver commented 2 years ago

Do you have the region set correctly?

FlyingDiver commented 2 years ago

How fast are you trying to refresh?

turribeach commented 2 years ago

Yes region is set fine, I think their API is down. I am refreshing every 5 mins, had it set like that for ages.

FlyingDiver commented 2 years ago

Not sure what I can do differently here. I'm catching the exception and printing the error to the log.