Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPStatusError: invalid_client - Client authentication failed #671

Closed
2 of 5 tasks
SionS4R opened this issue Nov 18, 2024 · 11 comments
Closed
2 of 5 tasks

HTTPStatusError: invalid_client - Client authentication failed #671

SionS4R opened this issue Nov 18, 2024 · 11 comments
Labels
bug 🐛 Something isn't working

Comments

@SionS4R
Copy link

SionS4R commented Nov 18, 2024

Describe the issue

From this morning i've this issue:

2024-11-18 19:03:18 - HTTP Request: GET https://cocoapi.bmwgroup.com/eadrax-ucs/v1/presentation/oauth/config "HTTP/1.1 200 OK"
2024-11-18 19:03:18 - HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/authenticate "HTTP/1.1 401 Unauthorized"
2024-11-18 19:03:18 - MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
2024-11-18 19:03:18 - Errore durante il controllo dello stato del veicolo: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)

Expected behavior

Connection

Which Home Assistant version are you using?

python

What was the last working version of Home Assistant Core?

python

What is your region?

Rest of world

MyBMW website

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

Number of cars

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

Output of bimmer_connected fingerprint

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@SionS4R SionS4R added the bug 🐛 Something isn't working label Nov 18, 2024
@rikroe
Copy link
Member

rikroe commented Nov 18, 2024

Same issue now in rest_of_world as was in North America: BMW has added a captcha.

Old issue: #667

I'll have a look if we can reuse/adapt the code.

@Niels-Stoffer
Copy link

Niels-Stoffer commented Nov 19, 2024

Same issue, I am using "rest of the world", but the problem is for both cars

@rikroe
Copy link
Member

rikroe commented Nov 19, 2024

Yes, if you have existing refresh tokens, it will continue to work

@ElZorroofOz
Copy link

OK, same here (Australia), similar timing, very much looks like same issue. Reported in #673, but the timing is too coincidetal to not be the same.

@4integration

This comment was marked as duplicate.

@Azza899

This comment was marked as duplicate.

@4integration

This comment was marked as duplicate.

@myModelY

This comment was marked as duplicate.

@imushr00m1004

This comment was marked as duplicate.

@gerard33 gerard33 pinned this issue Nov 20, 2024
@gerard33
Copy link
Member

gerard33 commented Nov 20, 2024

Problem is known --> #671 (comment)
Please don't add any more "same here" comments.

@bimmerconnected bimmerconnected locked as off-topic and limited conversation to collaborators Nov 20, 2024
@rikroe
Copy link
Member

rikroe commented Nov 22, 2024

Fixed by #675 / release 0.17.0 for the command line.

For the Home Assistant integration, we're still working with the HA Core team on further options (see home-assistant/core#129667 (review)).

@rikroe rikroe closed this as completed Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants