core
core copied to clipboard
BMW connected drive HTTP 429 even after cooldown of 24+ hours
The problem
The BMW Connected Drive integration is unable to initialise after updating Home Assistant Core to 2024.8.3. It results in the following message: Failed setup, will retry: HTTPStatusError: Client error '429 Too Many Requests' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
I did have this issue previously as well, and found the solution somewhere in an old issue to disable the integration until 0:00 UTC, or 24 hours. To be safe, I disabled the integration for almost two days. It did not solve the issue though, I keep getting the same error message.
What version of Home Assistant Core has the issue?
2024.8.3
What was the last working version of Home Assistant Core?
2024.7.3
What type of installation are you running?
Home Assistant OS
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?
Failed setup, will retry: HTTPStatusError: Client error '429 Too Many Requests' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
Additional information
No response
Hey there @gerard33, @rikroe, mind taking a look at this issue as it has been labeled with an integration (bmw_connected_drive) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of bmw_connected_drive can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign bmw_connected_driveRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
bmw_connected_drive documentation bmw_connected_drive source (message by IssueLinks)
Same Problem here
I had contact with BMW Group today. They told me their servers have issues with some (Dutch) routers from ISP's. The only way I can login to their server currently is from my phone's 5G connection. Hopefully they fix this soon...
This started happening to me just today...any news of a real fix or this is a BMW issue?
Funny thing is i can connect on the bmw app without any issues which uses the same credentials. I am wondering if they are blocking HA connections perhaps?
Same issue for me; just started this morning.
I just got back from the bmw shop. If your system started failing between Thursday or Friday then it's because of the hurricane. Even the shop foreman's car hadn't gotten any updates since Thursday (he showed me his phone).
I have no issues with the phone app, can log off and log back in without problems, HA is another story so how is the storm related to a cloud host which is not located in the storm radius?
I have no issues with the phone app, can log off and log back in without problems, HA is another story so how is the storm related to a cloud host which is not located in the storm radius?
https://www.reddit.com/r/BMWiX/comments/1fr3dxb/na_servers_down/
That makes sense, now why will BMW have servers in a DC without levels of redundancy is beyond me. Have several coworkers affected and with up to 3 feet of water in some cases which is really disheartening and amazing. Hope all recover soon and thought for those affected. Thanks for posting!
App and HA integration down again in ZA. This becoming highly frustrating. How can there be no redundancy and often downtime.
I think there was a general problem on Wednesday afternoon 2.10.2024, both my app and HA integration were down for about 6 hours in the afternoon (Finnish time, UTC+3).
I think this issue is ongoing. Unable to login from HA, I'm certain credentials are correct. Getting 429 error.
I think this issue is ongoing. Unable to login from HA, I'm certain credentials are correct. Getting 429 error.
If you are in the Netherlands, the issue is with BMW, see also my comment: https://github.com/home-assistant/core/issues/125332#issuecomment-2346812658
You can try logging in on a webbrowser while on your WiFi/LAN and see if that also gives the 429 error or not.
@frenck I saw in another project (evcc) that BMW changed the auth (hcaptcha) for the api.
https://github.com/evcc-io/evcc/pull/17445
I got since 1-2 weeks this error in HA and the BMW Core integration doesn't work.
Logger: bimmer_connected.api.authentication Quelle: components/bmw_connected_drive/coordinator.py:68
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Anyone else these problems?
@frenck I saw in another project (evcc) that BMW changed the auth (hcaptcha) for the api.
I got since 1-2 weeks this error in HA and the BMW Core integration doesn't work.
Logger: bimmer_connected.api.authentication Quelle: components/bmw_connected_drive/coordinator.py:68
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Anyone else these problems?
I'm having the same issue after installing the latest HA Update.
Failed to set up: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method) Integration entries
Same here for 2 days now.
Once you logged out, you cannot log back in due to #128598 for which a fix will be release with 2024.12.
Used the fix within 2024.12, but doesn't seem to work anymore. After filling the Captcha code all is fine, but within the minut I get the same massage again.
Used the fix within 2024.12, but doesn't seem to work anymore. After filling the Captcha code all is fine, but within the minut I get the same massage again.
Yes - that started this morning - the capture code logs in then expires straight away, Using Rest of World and 2024.12. BMW App is still working fine. Going to try disabling the integration and letting it cool down for 24hrs in case this is a rate limiting thing.
Same here. Worked for some days but now error pops up a few seconds after using new token.
Update: works again. It was BMW's fault 😬
@home-assistant close