-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected error fetching porscheconnect #67
Comments
Please discard it, apologies, it looks like after reboot it is working fine again. |
Re-opening the issue. After the reboot made because a new HA version it worked, but not too late afterwoards started to happen again every 5 minutes. Something may have changed at HA or Porsche side. Thanks |
I'm not seeing this problem, is it possible this was a temporary error on their backend or do you still have this? |
Thanks for answering. No, i am not longer seeing it, it may has been as you said a temporary thing. |
No more errors happened |
Hello,
A of 11:41 CET today I am getting the below error every 5 minutes (on each pooling) and also all Prosche connect related entities appear as unavailable.
2022-02-04 11:44:05 ERROR (MainThread) [custom_components.porscheconnect] Unexpected error fetching porscheconnect data: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/porscheconnect/init.py", line 218, in _async_update_data
vdata = await self._update_data_for_vehicle(vehicle)
File "/config/custom_components/porscheconnect/init.py", line 145, in _update_data_for_vehicle
**await self.controller.getStoredOverview(vin),
File "/usr/local/lib/python3.9/site-packages/pyporscheconnectapi/client.py", line 418, in getStoredOverview
data = await self._connection.get(
File "/usr/local/lib/python3.9/site-packages/pyporscheconnectapi/connection.py", line 183, in get
return await resp.json()
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1119, in json
return loads(stripped.decode(encoding))
File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/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)
The text was updated successfully, but these errors were encountered: