Closed Prior99 closed 38 minutes ago
This error originated from a custom integration.
Logger: custom_components.myskoda.coordinator Source: /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:425 integration: MySkoda (documentation, issues) First occurred: 04:02:45 (9 occurrences) Last logged: 08:02:45
Unexpected error fetching myskoda data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myskoda/coordinator.py", line 65, in _async_update_data vehicles = await self.myskoda.get_all_vehicles() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myskoda/myskoda.py", line 208, in get_all_vehicles vins = await self.list_vehicle_vins() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myskoda/myskoda.py", line 176, in list_vehicle_vins return await self.rest_api.list_vehicles() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py", line 147, in list_vehicles headers=await self._headers(), ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py", line 153, in _headers return {"authorization": f"Bearer {await self.idk_session.get_access_token(self.session)}"} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myskoda/authorization.py", line 96, in get_access_token await self.perform_refresh(session) File "/usr/local/lib/python3.12/site-packages/myskoda/authorization.py", line 81, in perform_refresh data = json.loads(await response.text()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Yes, this has been present in the lib since i think 0.2.2, there seems to be an issue refreshing the access toen. Havent found it yet.
Dup of !16 then ?
Yes, #16, this is not gitlab 😄
This error originated from a custom integration.
Logger: custom_components.myskoda.coordinator Source: /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:425 integration: MySkoda (documentation, issues) First occurred: 04:02:45 (9 occurrences) Last logged: 08:02:45