Es hat nur kurz funktioniert, jetzt bekomme ich eine Fehlermeldung:
2024-11-29 14:35:07: ERROR: soc_i3:LP1: Request failed, StatusCode: 401
2024-11-29 14:35:07: ERROR: soc_i3:LP1: Data-Request failed
2024-11-29 14:35:07: ERROR: soc_i3:LP1: requestData: url=
https://cocoapi.bmwgroup.com/eadrax-vcs ... cles/state,
headers={
"user-agent": "Dart/3.3 (dart:io)",
"x-user-agent": "android(AP2A.240605.024);mini;4.7.2(35379);0",
"bmw-vin": "WMW1.......",
"Authorization": "Bearer r....."
}
2024-11-29 14:35:07: ERROR: soc_i3:LP1: Request failed, exception=
Traceback (most recent call last):
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 542, in <module>
main()
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 516, in main
data = requestData(token, vin)
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 405, in requestData
body = getHTTP(url, headers)
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 188, in getHTTP
raise RuntimeError
RuntimeError