folder is empty #609
Closed
myModelY
started this conversation in
Fingerprint data contributions
Replies: 1 comment
-
BMW seem to have updated their API and in the process it was very flaky. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
after send the command i get answer
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.
g., login failure, unknown client, no client authentication included or unsupported auth
entication method)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 389, in raise_for_status_event_handler
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/httpx/_models.py", line 759, in raise_fo
r_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://customer.bmwgrou
p.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 "/usr/local/bin/bimmerconnected", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/cli.py", line 341, in m
ain
loop.run_until_complete(args.func(args))
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/cli.py", line 178, in f
ingerprint
await account.get_vehicles()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/account.py", line 101,
in get_vehicles
await self._init_vehicles()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/account.py", line 78, i
n _init_vehicles
vehicle_list_response = await client.post(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1877, in post
return await self.request(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1559, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1646, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1671, in _send_h
andling_auth
request = await auth_flow.anext()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 81, in async_auth_flow
await self.login()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 130, in login
token_data = await self._login_row_na()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 183, in _login_row_na
response = await client.post(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1877, in post
return await self.request(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1559, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1646, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1674, in _send_h
andling_auth
response = await self._send_handling_redirects(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1732, in _send_h
andling_redirects
raise exc
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1714, in _send_h
andling_redirects
await hook(response)
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 391, in raise_for_status_event_handler
await handle_httpstatuserror(ex, log_handler=_LOGGER)
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/utils.py", line 86,
in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: invalid_client - Client authent
ication failed (e.g., login failure, unknown client, no client authentication included o
r unsupported authentication
user/pwd from bmw app
best regards
Beta Was this translation helpful? Give feedback.
All reactions