nonsleepr / ha-eufy-security

Custom integration of Home Assistant with EufySecurity
168 stars 44 forks source link

Getting Unauthorized #25

Open MechEng70 opened 3 years ago

MechEng70 commented 3 years ago

Logger: homeassistant Source: custom_components/eufy_security/init.py:87 First occurred: 10:19:17 AM (32 occurrences) Last logged: 10:34:47 AM

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/eufy_security/api.py", line 95, in request resp.raise_for_status() File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1002, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('https://security-app.eufylife.com/v1/app/get_devs_list')

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/config/custom_components/eufy_security/init.py", line 87, in refresh await api.async_update_device_info() File "/usr/local/lib/python3.8/site-packages/eufy_security/api.py", line 57, in async_update_device_info devices_resp = await self.request("post", "app/get_devs_list") File "/usr/local/lib/python3.8/site-packages/eufy_security/api.py", line 107, in request raise InvalidCredentialsError("Token failed multiple times") eufy_security.errors.InvalidCredentialsError: Token failed multiple times