arraylabs / pymyq

Python wrapper for MyQ API
MIT License
112 stars 42 forks source link

429 - Too Many Requests #190

Open 88gts opened 1 year ago

88gts commented 1 year ago

i've been seeing this error pretty frequently, anyone have any idea what could be causing it?

ERROR:pymyq.api:Authentication failed: Error requesting data from https://partner-identity.myq-cloud.com/connect/authorize: 429 - Too Many Requests
ERROR:root:There was an error: Error requesting data from https://partner-identity.myq-cloud.com/connect/authorize: 429 - Too Many Requests
FlyingDiver commented 1 year ago

From the Home Assistant integration repo:

The latest batch of 429 errors are from the https://partner-identity.myq-cloud.com/ ... /authorize endpoint and appear to be Cloudflare anti-bot challenges, which require cookies and javascript to get past. It might be necessary to kick out to a browser to get past these.

flavio-fernandes commented 1 year ago

From the Home Assistant integration repo:

The latest batch of 429 errors are from the https://partner-identity.myq-cloud.com/ ... /authorize endpoint and appear to be Cloudflare anti-bot challenges, which require cookies and javascript to get past. It might be necessary to kick out to a browser to get past these.

Can you please elaborate a bit? What does it mean to "kick out to a browser"? I'm just trying to connect using a python script via mqtt (https://github.com/flavio-fernandes/mqtt2garage).

FlyingDiver commented 1 year ago

You can't, it's totally broken. See https://www.forbes.com/sites/stevenaquino/2023/11/08/chamberlain-shutting-the-door-on-myq-garage-api-access-reminds-how--smart-home-tech-empowers-everyone/?sh=b17761b125c9 or any of the many articles documenting this.

flavio-fernandes commented 1 year ago

You can't, it's totally broken. See https://www.forbes.com/sites/stevenaquino/2023/11/08/chamberlain-shutting-the-door-on-myq-garage-api-access-reminds-how--smart-home-tech-empowers-everyone/?sh=b17761b125c9 or any of the many articles documenting this.

wow... thanks for the update. Time for me to buy and install a ratgdo .