I get the following error when I'm calling the login method with my Tapo P100 device.
Traceback (most recent call last):
File "/home/jensjp/Repos/TapoP100/PyP100/PyP100.py", line 177, in login
self.token = ast.literal_eval(decryptedResponse)["result"]["token"]
KeyError: 'result'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jensjp/Repos/TapoP100/test.py", line 9, in <module>
p100.login()
File "/home/jensjp/Repos/TapoP100/PyP100/PyP100.py", line 182, in login
raise Exception(f"Error Code: {errorCode}, {errorMessage}")
Exception: Error Code: -1501, Invalid Request or Credentials
The decryptedResponse variable returns the error code; {"error_code":-1501}}.
All the methods worked fine until mid desember. The first occurrence of the
problem may have started with a password change to my tp-link account (not
sure).
I get the following error when I'm calling the login method with my Tapo P100 device.
The decryptedResponse variable returns the error code;
{"error_code":-1501}}.
All the methods worked fine until mid desember. The first occurrence of the problem may have started with a password change to my tp-link account (not sure).