ha-stihl-imow icon indicating copy to clipboard operation
ha-stihl-imow copied to clipboard

iMow did not return an access_token, check your credentials

Open firefighter4700 opened this issue 1 year ago • 4 comments

Hi.

Not allowed to start the integration because of autentication error. I am useing the same username and password as in the Stihl iMow app. Error message is below. Thanks for any help resolving this.

Logger: custom_components.stihl_imow.config_flow Source: custom_components/stihl_imow/config_flow.py:50 Integration: STIHL iMow First occurred: 18:25:32 (3 occurrences) Last logged: 22:07:15

STIHL iMow did not return an access_token, check your credentials Traceback (most recent call last): File "/config/custom_components/stihl_imow/config_flow.py", line 50, in validate_input token, expire_time = await imow.get_token( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/imow/api/init.py", line 118, in get_token await self.__authenticate(self.api_email, self.api_password) File "/usr/local/lib/python3.11/site-packages/imow/api/init.py", line 169, in __authenticate raise LoginError( imow.common.exceptions.LoginError: STIHL iMow did not return an access_token, check your credentials

firefighter4700 avatar Jun 24 '23 20:06 firefighter4700