FlyingDiver / Indigo-Connected-Drive

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

Error on account connection #27

Closed damiang1 closed 1 year ago

damiang1 commented 1 year ago

Latest plugin yields this in Indigo Log. Using same login info as myBMW app.

Connected Drive Warning new device: get_account error: Client error '422 Forbidden' for url 'https://cocoapi.bmwgroup.us/eadrax-ucs/v1/presentation/oauth/config' For more information check: https://httpstatuses.com/422

turribeach commented 1 year ago

Working fine for me, must be something at your side...

damiang1 commented 1 year ago

Tried everything, cant possibly see what is wrong. Perhaps there is a newer library I need to install other than pip3.9 install bimmer_connected==0.10.0. It appears I am "logging on" but cant resolve and find the vehicle. This is the error I get... Connected Drive Starting Connected Drive Connected Drive new device: Starting cdAccount Device Connected Drive Warning new device: get_account error: Client error '422 Forbidden' for url 'https://cocoapi.bmwgroup.us/eadrax-ucs/v1/presentation/oauth/config' For more information check: https://httpstatuses.com/422 Connected Drive new device: 0 vehicles found.

FlyingDiver commented 1 year ago

You sure you have the right region?

damiang1 commented 1 year ago

Yes USA. I just cant get to work from a year ago

ryanbuckner commented 1 year ago

bimmer_connected is at version 0.14.0

On Thu, Sep 14, 2023 at 10:32 AM damiang1 @.***> wrote:

Yes USA. I just cant get to work from a year ago

— Reply to this email directly, view it on GitHub https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/27#issuecomment-1719571988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANTBKOBSPXBZXJZ54SSXC3X2MIPXANCNFSM6AAAAAA4U5VTDI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

damiang1 commented 1 year ago

Didnt realize that. I did this in terminal and ALL IS FINE! pip3.10 install bimmer_connected==0.14.0 aiohttp httpx. Only issue is that everything is in metric which I cant seem to change. Thank you!

FlyingDiver commented 1 year ago

I've put in code to check the version and throw an error if it's not 0.14.0, it'll be in the next release. I have a number of issues for this plugin I need to chase down.