-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Shark IQ Integration can't be added - Unexpected error #60422
Copy link
Copy link
Closed
Labels
Description
The problem
Trying to add the Shark IQ Integration to my HA instance (via the Integration UI) always results in the same error message: "Unexpected error"
I've attached a stacktrace from the error log of HA core.
I've also followed the troubleshooting section of the integration documentation and turned off all adblockers - without luck.
What version of Home Assistant Core has the issue?
core-2021.11.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Shark IQ
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sharkiq
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2021-11-26 22:51:03 ERROR (MainThread) [homeassistant.components.sharkiq] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sharkiq/config_flow.py", line 54, in _async_validate_input
info = await validate_input(self.hass, user_input)
File "/usr/src/homeassistant/homeassistant/components/sharkiq/config_flow.py", line 32, in validate_input
await ayla_api.async_sign_in()
File "/usr/local/lib/python3.9/site-packages/sharkiqpy/ayla_api.py", line 97, in async_sign_in
self._set_credentials(resp.status, await resp.json())
File "/usr/local/lib/python3.9/site-packages/sharkiqpy/ayla_api.py", line 73, in _set_credentials
raise SharkIqAuthError(login_result["error"]["message"])
TypeError: string indices must be integersAdditional information
Submitting the form with a wrong username/password results in the exact same error and stacktrace.
Reactions are currently unavailable
