-
Notifications
You must be signed in to change notification settings - Fork 24
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
503 Service unavailable #34
Comments
That sounds like their service is down, does the anylist app still work? |
Yes, the web-version works, as well as the android- and MacOS versions. |
Ah yeah I see it on my end too. I'll have to look into it but I really hope this is not because anylist decided to block our access 🤞 |
Yeah looks like they changed how clients are authenticated. I'll work on fixing it. |
Thanks for investigating @kevdliu :) |
The primary problem is that this library is attempting to use A related problem is that users of this library often engage in patterns of login behavior that appear to be potentially suspicious, such as attempting to sign in to the same account dozens or hundreds of times per hour. This makes it look like an account may be under attack, and could lead to the account being restricted by automated security tools. |
Thanks for your comments. I've attempted to address the authentication issue by updating the library to use bearer tokens in this PR #35. You're right in that the library can definitely be optimized to utilize caching in order to reduce calls to the auth endpoint. When I get a chance I plan on adding caching for the access and refresh tokens in addition to the client id. |
Node: 8.5.3
anylist: latest
Started getting error 503 from anylist yesterday in the home assistant addon. Just tried with the index.js and this also give a 503:
The text was updated successfully, but these errors were encountered: