Question / Tips wanted: Handling strict bank rate limits (PSU-IP-Address) during autoimport #12279
Replies: 4 comments 4 replies
-
There is no code for this, but I can add it of course. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, If you want, the |
Beta Was this translation helpful? Give feedback.
-
|
The auto-import job is crashing due to a strictness enforcement in PHP. The File: |
Beta Was this translation helpful? Give feedback.
-
|
thanks alot. I can confirm the rate limit now is gone and bank synk works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am looking for some advice or tips on how to handle strict PSD2 banks when using the automated import flow.
My Setup
Firefly III Data Importer v2.3.2 (running in Kubernetes)
Flow: Enable Banking (eb)
Bank: Sparebanken Sør (Norway)
The Issue
When I use the manual web interface to import, everything works flawlessly. However, when I try to automate the process using the /autoimport endpoint (triggered via a cronjob/curl), the bank rejects the fetch with a 429 error, demanding the PSU-IP-Address header.
According to Enable Banking, some strict banks enforce a zero-quota limit on unattended background requests and require an end-user IP to lift the rate limit.
Error Log
Enable Banking API error: Client error: GET https://api.enablebanking.com/accounts/.../details resulted in a 429 Too Many Requests response:
{"code":429,"message":"HTTP header is required: PSU-IP-Address.","detail":{"error_name":"RateLimitException"},"error":"ASPSP_RATE_LIMIT_EXCEEDED"}
My Question
Even if I pass the correct client IP in the X-Forwarded-For header to the Data Importer endpoint, the request to Enable Banking still gets blocked.
Is there a specific configuration or environment variable I can use to force the Data Importer to forward the client IP to Enable Banking during unattended auto-imports?
Has anyone else encountered this with strict Nordic banks, and do you have any tips on how to bypass or solve this for automated daily syncs?
Any help or guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions