bimmer_connected: The BMW Connected Drive portal returned an error: UNKNOWN_ERROR

Describe the issue

Not able to connect to the bmw connected portal with the current bimmer_connected version after a restart of home assistant today.

“OSError: The BMW Connected Drive portal returned an error: UNKNOWN_ERROR (received status code 400 and expected 200).” “Authentication failed. Maybe your password is invalid?”

Expected behavior

Login to bmw connected

Home Assistant version (if used)

0.117.6

And did it work on a previous version, if so what was the last working version? yes. 0.117.6

ConnectedDrive website https://www.bmw-connecteddrive.de/

If you see any issues with the BMW integration in Home Assistant (or when directly using the library), please make sure to first login to the BMW ConnectedDrive website of your country and check if you can successfully login and query the car status.

  • I can still successfully login to the BMW ConnectedDrive website and the car status is available there.
  • I have ConnectedDrive enabled for my vehicle.

Your config.yaml

bmw_connected_drive:
  name_of_car:
    username: USERNAME_BMW_CONNECTED_DRIVE
    password: PASSWORD_BMW_CONNECTED_DRIVE
    region: "rest_of_world"

Number of cars 1

If you have more than 1 car please mention that here.

  • I have 2 or more cars linked to the ConnectedDrive account.
  • I have a Mini vehicle linked to my account.

Output of bimmer_connected fingerprint

If you have run the bimmer_connected fingerprint please share that data here

NOTE: It might take us a while to respond on GitHub (we only maintain this in our free time), but we will respond.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Just copied the files to my homeassistant and it works. Yes, the alternative would be to copy account.py and country_selector.py to your HA instance.

I’ll wait for the North America confirmation, then we can release a new version to PyPI and create a PR for Home Assistant.

Please test guys 😃

Especially would be great if somebody from China would be able to test - although from what I can tell from the response codes, nothing changed there.