Maximo
(Garry McCandless)
November 22, 2024, 6:20pm
1
Just updated to Core Version: 2024.11.3 and now get the error, “Invalid authentication” Was working fine before the updated. Anyone else having the same issue?
2 Likes
yes same issue here, was working fine, now presented with invalid authentication,
whilst connecting to server region rest of the world.
The issue is logged on github
logged as issue:
opened 04:44PM - 17 Oct 24 UTC
integration: bmw_connected_drive
blocking event loop
### The problem
I am attempting to setup the integration first time. I have tri… ed multiple times over the last couple days but I am getting authentication failed error.
I have the MyBMW App working, as well as I can see my car on the bmw connected website just fine. I have change my password to ensure it's up to date but no luck. I tried using all regions as well, but none of them worked. I'm from Canada, and so is my account and car registered to Canadian region.
I have noticed in the log that the URL the authentication module is using, doesnt seem to exist (404) based on the logs.
### What version of Home Assistant Core has the issue?
20241002.3
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
BMW Connected Drive
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/bmw_connected_drive/
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
2024-10-16 11:34:26.634 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x1480b727f150>,) inside the event loop by integration 'bmw_connected_drive' at homeassistant/components/bmw_connected_drive/config_flow.py, line 54: await auth.login() (offender: /usr/local/lib/python3.12/site-packages/httpx/_config.py, line 149: context.load_verify_locations(cafile=cafile)), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+bmw_connected_drive%22
File "/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/config_flow.py", line 91, in async_step_user
File "/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/config_flow.py", line 54, in validate_input
2024-10-16 11:34:27.689 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWAuthError due to HTTPStatusError: { "statusCode": 404, "message": "Resource not found" }
2024-10-16 11:34:30.749 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
2024-10-16 11:34:34.556 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
```
### Additional information
_No response_
2 Likes
I have the same issue.
For me the BMW Integration is very important.
There is a approach described @github but with a security risk.
Maybe we should have the ability to paste the captcha token manually via a config file?
Any suggestions?
I can confirm I also have authentication problems since the upgrade to 2024 11 3. I’ve just checked and authentication through the app and the Connected Drive website works fine.
Thanks,
M
ronvl
(Ron)
November 28, 2024, 6:51am
5
Same here with 2024 11 1. Started a day ago
Raffe
November 28, 2024, 11:45am
6
Hi, another one with same problem here.
1 Like
LMOE7888
(Moens)
November 29, 2024, 9:35am
7
Same issue here. Anyone has a solution yet?
Same with me, since the update to 2024.11.3 authentication issues.
I double checked on the website and the login details work.
Cheers and have a great weekend!
Gsonz
November 30, 2024, 10:30am
10
Same here. My dad’s account is still working, let’s see for how long though.
Lost my connection as well.
My account has been checked via the web portal and everything is correct.
clabern
November 30, 2024, 1:26pm
12
Issue just popped up overnight for me, using North America region.
I’m seeing “Captcha validation missing” when attempting to re-auth.
Same issue for our mini. Our BMW is still working.
suatta81
(Suatta81)
December 2, 2024, 4:12pm
14
Someone know when this bug will be fixed?
Maximo
(Garry McCandless)
December 2, 2024, 4:27pm
15
Fix is implemented and will be deployed with HA 2024.12 on Dec. 4th. As per this issue.
2 Likes
This works! Thanks a lot!
@Maximo same for me, it works again. Thank you!
khangwei
(khangwei)
December 23, 2024, 5:53am
18
now i have to re-auth quite often… is this the expected behavior?