CharlesBlonde / libpurecoollink

Dyson Pure Cool link python library
http://libpurecoollink.readthedocs.io
Other
206 stars 53 forks source link

Dyson account : 403 forbidden #38

Open Rania-M opened 3 years ago

Rania-M commented 3 years ago

Hi, i have an issue with the Dyson account authentication, i have created an account and successfully log with it on the Dyson website, but when accessing to it via a python script , i get the error : Unable to login to Dyson account i have to mention that i had the certificate issue but i used urllib3 to disable it.

I tried accessing the page using Postman (using the URL used in the Dyson.py file) but i get a 403 (forbidden) error. If anyone has experienced that it could be really appreciated.

PS: i have seen in other issues topics that the country code may cause a problem , i tried with both FR and EN code and it gives the same result. Thank you very much

Jeffdemongo commented 3 years ago

Its the same for me I tried changing the api Url but that also didn't resolve the error. (new api url that I used https://github.com/etheralm/libpurecool/pull/9/files)

Jeffdemongo commented 3 years ago

I think I might have found the solution:https://github.com/CharlesBlonde/libpurecoollink/pull/37/commits/62c4574831539500e268896d2eebb28eda77847c It was in the pulled issues tab

Rania-M commented 3 years ago

Thank you so much i will try that and tell you !