Closed von-Chaps closed 2 years ago
starlingbank documentation starlingbank source (message by IssueLinks)
I'm working on this issue now.
It's been a while since I've had a dev environment setup for Home Assistant (the last time was when I first added the Starling integration) but I think it's a quick change.
Oh cool, nice one. I wasn't sure if this integration was still active/supported. Thanks.
Let me know if I can help. I don't suppose there's a massive number of us using this.
Nicely done @Dullage Many thanks for fixing it so quickly!
The problem
First, many thanks for this API, I find it very useful.
Very recently, Starling Bank introduced daily limits to the number of times the v2 accounts api may be called. The integration now throws; 429 Too Many Requests
I have included an extract from an email I received from Starling on 31-05-2022.
Looks like this integration needs to back off on the frequency of checks (or examine and honour the Retry-After header.
What version of Home Assistant Core has the issue?
2022.5.5
What was the last working version of Home Assistant Core?
2022.5.5
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Starling
Link to integration documentation on our website
https://www.home-assistant.io/integrations/starlingbank
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Extract of email from Starling...
Rate Limiting
To allow us to continue to provide a high level of service to our API consumers, we will introduce client rate limiting on our API. As is customary, we will return a HTTP 429 response with a Retry-After header whenever we reject a request due to a breach of the rate limit. We reserve the right to amend these limits as required.
Initially we will apply the following limits. The limit will be applied across all of our API endpoints.
TPPs will be given a flat limit of 100 requests per second per client_id. This limit will come into force on 1st September. Personal access tokens will have significantly more restrictive limits. These limits will come into force by 6th June. 5 requests per second 1000 requests per day
Please reach out to us via email ( developer@starlingbank.com ) or Slack ( https://updates.starlingbank.com/xxxx-xxxx-xxxxxx-xxxxx-x/c.aspx ) if you have any questions about any of these changes.