-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
[Bug]: GoCardless will implement strict ratelimiting #431
Comments
IThere was a bit of conversation around this in the discord earlier if you're interested! 1 - return a comprehensible error to the user when GoCardless limits are reachedI believe that this is possible in some capacity at the moment, but only once the rate limit has been reached. The message would have to be something simple like "the rate limit has been reached, please wait for it to reset" as we can not access the headers to give information on when the time window resets through I've raised nordigen/nordigen-node#62 in hopes that something can be done about this. 2 - filtering unecessary sync events by the user from the actual app,to make sure that "unnecessary" calls are not being made to the GoCardless APIThis is tough if I'm understanding what you're proposing. How can we define an unnecessary sync event? The easier route to this (this could have been what you meant too, I could have misunderstood!) is to optimise the way that actual performs bank syncs. Currently, any sync will use 3 api calls, which means that when the 4/day limit is imposed we're limiting users to 1 sync per day. Looking at the code we could optimise the way we fetch relatively easily, I'm looking at a change to do it at the moment but I'll be moving house tomorrow so it's all a little hectic here as you can probably imagine. My propsal is:
|
Closing this as we've made the sync as lean as possible and errors are shown in the UI when the rate limit is exceeded. |
Verified issue does not already exist?
What happened?
I got the following mail from GoCardless.
I think we should grab those headers from each response and keep count of where we're at, so that we can:
What error did you receive?
No response
Where are you hosting Actual?
None
What browsers are you seeing the problem on?
No response
Operating System
None
The text was updated successfully, but these errors were encountered: