[PR #5150] [MERGED] use fallback linking parameters if initial GoCardless linking process fails #5783

Closed
opened 2026-02-28 21:18:33 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5150
Author: @matt-fidd
Created: 6/13/2025
Status: Merged
Merged: 6/13/2025
Merged by: @matt-fidd

Base: masterHead: gocardless-link-fallback


📝 Commits (2)

📊 Changes

2 files changed (+34 additions, -16 deletions)

View changed files

📝 packages/sync-server/src/app-gocardless/services/gocardless-service.js (+28 -16)
upcoming-release-notes/5150.md (+6 -0)

📄 Description

Closes https://github.com/actualbudget/actual/issues/5152

Sometimes, it appears, GoCardless provide an institution.max_access_valid_for_days value that actually causes the requesition request to fail. This is just a simple change to give it another go with the default 90 days before we pass the error along to the front end.

Annoyingly, when it fails for this reason, the server returns a 404, with extra hidden information saying "ERR BAD REQUEST" instead of a 400/500 etc...


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5150 **Author:** [@matt-fidd](https://github.com/matt-fidd) **Created:** 6/13/2025 **Status:** ✅ Merged **Merged:** 6/13/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `gocardless-link-fallback` --- ### 📝 Commits (2) - [`68c8269`](https://github.com/actualbudget/actual/commit/68c8269f8f6f34d5bbbcd385a83406522e5fcbed) add GoCardless linking fallback - [`afb59bf`](https://github.com/actualbudget/actual/commit/afb59bf08700ffb9e1766f9e6455e47baa5543a7) note ### 📊 Changes **2 files changed** (+34 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/app-gocardless/services/gocardless-service.js` (+28 -16) ➕ `upcoming-release-notes/5150.md` (+6 -0) </details> ### 📄 Description Closes https://github.com/actualbudget/actual/issues/5152 Sometimes, it appears, GoCardless provide an `institution.max_access_valid_for_days` value that actually causes the requesition request to fail. This is just a simple change to give it another go with the default 90 days before we pass the error along to the front end. Annoyingly, when it fails for this reason, the server returns a 404, with extra hidden information saying "ERR BAD REQUEST" instead of a 400/500 etc... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:18:33 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5783