Closed DieterC1984 closed 3 months ago
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!
(message by CodeOwnersMention)
bmw_connected_drive documentation bmw_connected_drive source (message by IssueLinks)
Same
same here, tried removing the integration (so that tokens might refresh), but no luck, re-adding isn't even possible anymore.
The MyBMW app is not working, and neither iso logging in to Connected Drive using a web browser, so my guess is that BMW’s servers are down.
The MyBMW app is not working, and neither iso logging in to Connected Drive using a web browser, so my guess is that BMW’s servers are down.
Sorry, but my app itself is working fine...
The MyBMW app is not working, and neither iso logging in to Connected Drive using a web browser, so my guess is that BMW’s servers are down.
Sorry, but my app itself is working fine...
Hm, maybe something regional as well, then. I’m in Norway and neither the app, a browser nor the integration work. The app claims I have no internet connection, which is clearly wrong since I’m posting this over the same network…
Same here
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
The MyBMW app is not working, and neither iso logging in to Connected Drive using a web browser, so my guess is that BMW’s servers are down.
Sorry, but my app itself is working fine...
Hm, maybe something regional as well, then. I’m in Norway and neither the app, a browser nor the integration work. The app claims I have no internet connection, which is clearly wrong since I’m posting this over the same network…
App is back up, but the integration still gives a 429
Same here in the UK, app seems fine
Same here in Portugal. Apps works fine.
Didn't happen for me in Germany yet. However I had some 503 Server Errors this morning.
If you're stuck with the error, please try to disable the integration (no need deleting it) and try again tomorrow (or after 12am UTC).
Same for me in Belgium since yesterday
I had an update of the iOS app also yesterday. :-/
After midnight in Portugal:
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Edit: It's working after getting a new IP.
After midnight in Portugal:
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Same here in the UK. Tried to reset integration, just says authentication failed.
I had the same thing. Using the bimmerconnected CLI tool did work though. The authentication fail was still because of the 429 when I looked at the logs.
I fixed it by restarting my modem to get a new IP as the rate limiting could have been at IP level ... and this did the trick for me.
If rate limiting applies on IP level, please make sure to disable the integration for some time. Otherwise it will try in the background every couple of minutes, prolonging the limit.
I had the same thing. Using the bimmerconnected CLI tool did work though. The authentication fail was still because of the 429 when I looked at the logs.
I fixed it by restarting my modem to get a new IP as the rate limiting could have been at IP level ... and this did the trick for me.
for me it's not a solution,i'll get the same IP :-/
Like rikroe says, disable the integration and wait for at least 24 hours before enabling it. I was just impatient and wanted to see if I could get it resolved sooner.
At least now know it ain't a new trick BMW made to prevent this from working :)
Btw, I only refresh my car's data every 10-30 minutes (depending if my car is charging or not) and I still got rate limited ...
After midnight in Portugal:
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Same here this morning when trying to re-login into the integration, as I tried removing the account before:
2024-07-27 09:37:12.399 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)
Logging in into the app worked like a charm with this login.
Could also be that BMW is deprecating old app versions. Will update the library soon (https://github.com/bimmerconnected/bimmer_connected/pull/638) and then put in an update for HA.
The following might still apply even with the bugfix included (in 2024.7.4 or 2024.8).
If you're stuck with the error, please try to disable the integration (no need deleting it) and try again tomorrow (or after 12am UTC).
Due to https://github.com/home-assistant/core/pull/122699#issuecomment-2255823253, this will only be available in 2024.8.
just to let you know, same is happening to me now running on 2024.8.2
. I'm not sure but i didnt experience that before. Waiting does not solve the issue unfortunately, neither changing the public IP. Either the API is gone or different or they limit based on the user?
Here it started again yesterday afternoon. Also on 2024.8.2. (since 2024.8 it was working fine)
2024-08-23 10:15:09.575 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed 2024-08-23 10:15:21.884 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWQuotaError due to 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 tried disabling it yesterday evening, hoping for it to be working again today, but unfortunately no luck yet when I just tried.
Same here. I found out, that myBMW app works fine but login to BMW website is not possible with the affected BMW ID.
Just contacted BMW support to check my account.
Same problem, started happening yesterday. Tried changing route to customer.bmwgroup.com host to check if it is IP-related, but the error stays.
This is now tracked in https://github.com/home-assistant/core/issues/124464 (separate reason for issue I guess).
tl;dr: If you have the QuotaError, disable the integration and retry after 0:00 UTC.
The problem
Integrations got stuck for below reasons: MyBMWQuotaError due to 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
MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
Auto polling is disabled and refresh only taking place every 10 min. Also not able to sign in on the integration anymore after deleting and reinstalling.
What version of Home Assistant Core has the issue?
2024.7.3
What was the last working version of Home Assistant Core?
2024.7.3
What type of installation are you running?
Home Assistant Supervised
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?
No response
Additional information
No response