sharkiq icon indicating copy to clipboard operation
sharkiq copied to clipboard

Auth: TypeError: string indices must be integers

Open DTFagus opened this issue 1 year ago • 3 comments

Hey,

When I want to authenticate I get the following: Traceback (most recent call last): File "/Users/daniel/shark.py", line 7, in <module> ayla_api.sign_in() File "/opt/homebrew/lib/python3.9/site-packages/sharkiq/ayla_api.py", line 93, in sign_in self._set_credentials(resp.status_code, resp.json()) File "/opt/homebrew/lib/python3.9/site-packages/sharkiq/ayla_api.py", line 82, in _set_credentials raise SharkIqAuthError(login_result["error"]["message"]) TypeError: string indices must be integers

Same for using pything script standalone or the home assistant integration. Any thoughts?

If relevant: based in Europe.

DTFagus avatar Apr 19 '23 07:04 DTFagus