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

No HTTP resource was found that matches the request URI #29

Open
gro1986 opened this issue Feb 5, 2020 · 1 comment
Open

No HTTP resource was found that matches the request URI #29

gro1986 opened this issue Feb 5, 2020 · 1 comment

Comments

@gro1986
Copy link

gro1986 commented Feb 5, 2020

Started ~yesterday (2020-02-03).
adding print (login.json()) after the login post request, I get this :
{'Message': "No HTTP resource was found that matches the request URI 'https://api.cp.dyson.com/v1/userregistration/authenticate?country=CA'."}
The account still works both on my phone and on their website.
You can get the same error by putting the URL in a browser.

@gro1986
Copy link
Author

gro1986 commented Feb 5, 2020

if anybody else gets this, using fiddler, I found that changing this in dyson.py makes it work :
from this :
DYSON_API_URL = "api.cp.dyson.com"
to this :
DYSON_API_URL = "appapi.cp.dyson.com"

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

1 participant