Skip to content
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

Auth: TypeError: string indices must be integers #45

Open
DTFagus opened this issue Apr 19, 2023 · 3 comments
Open

Auth: TypeError: string indices must be integers #45

DTFagus opened this issue Apr 19, 2023 · 3 comments

Comments

@DTFagus
Copy link

DTFagus commented Apr 19, 2023

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.

@joshua-pgatour
Copy link

I know this is late, very late... but I had the same issue and if you upgrade to python 3.11 it seems to fix the issue.

@scottWestveer
Copy link

scottWestveer commented Aug 6, 2024

I know this is late, very late... but I had the same issue and if you upgrade to python 3.11 it seems to fix the issue.

Seeing this now in the US.. HA GUI shows everything up to date, how do i upgrade Python?

Edit.. current python is 3.12... not sure where to go with this now..

➜ ~ python3 --version
Python 3.12.3
➜ ~

@tombrant
Copy link

tombrant commented Aug 9, 2024

I'm seeing in US as well. I'm using the correct username and password for the sharkclean.com login. Is that the right one? Sometimes I get a 403 error : forbidden now.

Can someone confirm that this is a problem across the board with SharkIq robot integration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants