Created
March 18, 2022 17:05
-
-
Save alunduil/87f9c9d54b0058f433657d81e43d0733 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Logger: homeassistant.components.withings | |
Source: components/withings/common.py:751 | |
Integration: Withings (documentation, issues) | |
First occurred: 11:42:32 (17 occurrences) | |
Last logged: 14:22:32 | |
Unexpected error fetching poll_data_update_coordinator data: 'dict' object has no attribute 'context' | |
Traceback (most recent call last): | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 732, in async_get_all_data | |
return await self._do_retry(self._async_get_all_data) | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 656, in _do_retry | |
raise exception | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 649, in _do_retry | |
return await func() | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 770, in _async_get_all_data | |
**await self.async_get_measures(), | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 780, in async_get_measures | |
response = await self._hass.async_add_executor_job( | |
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run | |
result = self.fn(*self.args, **self.kwargs) | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/withings_api/__init__.py", line 195, in measure_get_meas | |
**self.request(path=self.PATH_MEASURE, params=params) | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/withings_api/__init__.py", line 115, in request | |
return response_body_or_raise( | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/withings_api/common.py", line 828, in response_body_or_raise | |
raise AuthFailedException(status=status) | |
withings_api.common.AuthFailedException: Error code 401 | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh | |
self.data = await self._async_update_data() | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data | |
return await self.update_method() | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 745, in async_get_all_data | |
flow = next( | |
File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/withings/common.py", line 751, in <genexpr> | |
if flow.context == context | |
AttributeError: 'dict' object has no attribute 'context' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment