libpurecoollink icon indicating copy to clipboard operation
libpurecoollink copied to clipboard

401 Errors. Unable to log in

Open Josep313 opened this issue 4 years ago • 1 comments

DYSON_API_URL = "appapi.cp.dyson.com"

`urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) dyson_account = DysonAccount("[email protected]","password","EN") logged = dyson_account.login()

if not logged: print('Unable to login to Dyson account')`

Still getting a 401 unauthorized error. Did DYSON's endpoint change? I can sign into the app just find with the same credentials. PostMan is telling me the same 401 error as well.

Josep313 avatar May 30 '20 06:05 Josep313

I can log in, so i think the endpoint is right. I'm using dyson_api_url = "appapi.cp.dyson.com" as well

But i can't connect to my device either :(

AlexCloudDev avatar Jun 07 '20 16:06 AlexCloudDev