Wenige Stunden später leider beim BMW dieser Fehler:
Code: Alles auswählen
2025-09-13 20:37:16,392 - {modules.vehicles.bmwbc.api:213} - {INFO:fetch soc_ev1} - new captcha token configured - invalidate stored token set
2025-09-13 20:37:16,402 - {modules.vehicles.bmwbc.api:248} - {INFO:fetch soc_ev1} - authenticate via userid, password, captcha token
2025-09-13 20:37:16,815 - {bimmer_connected.api.authentication:88} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
2025-09-13 20:37:16,823 - {modules.vehicles.bmwbc.api:391} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vehicle_id: 1
2025-09-13 20:37:16,829 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev1} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('SoC Request failed',), Traceback:
Traceback (most recent call last):
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 420, in raise_for_status_event_handler
response.raise_for_status()
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_models.py", line 763, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 290, in _fetch_soc
await self._auth[user_id].login()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 138, in login
token_data = await self._login_row_na()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 200, in _login_row_na
response = await client.post(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
return await self.request(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1702, in _send_handling_auth
response = await self._send_handling_redirects(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1760, in _send_handling_redirects
raise exc
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1742, in _send_handling_redirects
await hook(response)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 422, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/utils.py", line 91, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 76, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 132, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
return api.fetch_soc(
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 414, in fetch_soc
soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 400, in _fetch_soc
raise Exception("SoC Request failed") from err
Exception: SoC Request failed
2025-09-13 20:44:17,422 - {modules.vehicles.bmwbc.api:213} - {INFO:fetch soc_ev1} - new captcha token configured - invalidate stored token set
2025-09-13 20:44:17,427 - {modules.vehicles.bmwbc.api:248} - {INFO:fetch soc_ev1} - authenticate via userid, password, captcha token
2025-09-13 20:44:17,931 - {bimmer_connected.api.authentication:88} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
2025-09-13 20:44:17,938 - {modules.vehicles.bmwbc.api:391} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vehicle_id: 1
2025-09-13 20:44:17,944 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev1} - BMW (Bimmer): FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('SoC Request failed',), Traceback:
Traceback (most recent call last):
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 420, in raise_for_status_event_handler
response.raise_for_status()
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_models.py", line 763, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 290, in _fetch_soc
await self._auth[user_id].login()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 138, in login
token_data = await self._login_row_na()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 200, in _login_row_na
response = await client.post(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
return await self.request(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1702, in _send_handling_auth
response = await self._send_handling_redirects(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1760, in _send_handling_redirects
raise exc
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1742, in _send_handling_redirects
await hook(response)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 422, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/utils.py", line 91, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 76, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 132, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/soc.py", line 20, in updater
return api.fetch_soc(
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 414, in fetch_soc
soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 400, in _fetch_soc
raise Exception("SoC Request failed") from err
Exception: SoC Request failed