bimmerconnected / bimmer_connected

🚘 Library to query the status of your BMW or Mini from the ConnectedDrive portal
Apache License 2.0
365 stars 79 forks source link

Log-in failure with HTTP 404 error #555

Closed wischnu closed 10 months ago

wischnu commented 1 year ago

Describe the issue

Hello,

since around two weeks, it seems that Bimmer-connected is no longer working. My Python script and the bimmerconnected cli get the following error message:

DEBUG:asyncio:Using selector: EpollSelector DEBUG:bimmer_connected.account:Getting vehicle list DEBUG:bimmer_connected.account:Getting vehicle list DEBUG:bimmer_connected.api.authentication:Authenticating with MyBMW flow for North America & Rest of World. DEBUG:httpx._client:HTTP Request: GET https://cocoapi.bmwgroup.com/eadrax-ucs/v1/presentation/oauth/config "HTTP/1.1 200 OK" DEBUG:httpx._client:HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/authenticate "HTTP/1.1 200 OK" DEBUG:httpx._client:HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/authenticate "HTTP/1.1 302 Found" DEBUG:httpx._client:HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/token "HTTP/1.1 200 OK" DEBUG:httpx._client:HTTP Request: GET https://cocoapi.bmwgroup.com/eadrax-vcs/v2/vehicles "HTTP/1.1 404 Resource Not Found"

Are you aware of any API changes on BMW side? I have not changed anything on my set-up.

Thanks for your help.

Expected behavior

Successful log-in and execution of the commands

Which Home Assistant version are you using?

only python library

What was the last working version of Home Assistant Core?

only python library

What is your region?

Rest of world

MyBMW website

Number of cars

Output of bimmer_connected fingerprint

DEBUG:asyncio:Using selector: EpollSelector
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.api.authentication:Authenticating with MyBMW flow for North America & Rest of World.
DEBUG:httpx._client:HTTP Request: GET https://cocoapi.bmwgroup.com/eadrax-ucs/v1/presentation/oauth/config "HTTP/1.1 200 OK"
DEBUG:httpx._client:HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/authenticate "HTTP/1.1 200 OK"
DEBUG:httpx._client:HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/authenticate "HTTP/1.1 302 Found"
DEBUG:httpx._client:HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/token "HTTP/1.1 200 OK"
DEBUG:httpx._client:HTTP Request: GET https://cocoapi.bmwgroup.com/eadrax-vcs/v2/vehicles "HTTP/1.1 404 Resource Not Found"

Anything in the logs that might be useful for us?

No response

Additional information

No response

rikroe commented 1 year ago

Your version of bimmer_connected is too old and BMW APIs have changed in the meantime. Please update using pip3 install --upgrade bimmer_connected.

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.