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

401 Errors. Unable to log in #33

Open
Josep313 opened this issue May 30, 2020 · 1 comment
Open

401 Errors. Unable to log in #33

Josep313 opened this issue May 30, 2020 · 1 comment

Comments

@Josep313
Copy link

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.

@AlexCloudDev
Copy link

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 :(

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

2 participants