actualbudget / actualbudget/actual

[Bug]: Error when linking account with pluggy.ai

Offen
#6,345 12 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
bank sync
Vorherrschende Sprache
TypeScript
Sterne
28.8k
Forks
3k
Ø Merge
2 T. 11 Std.
Gemergte PRs (30 T.)
65

Beschreibung

### Verified issue does not already exist?

- [x] I have searched and found no existing issue

### What happened?

Linking an account from pluggy.ai is throwing an error:

Image

### How can we reproduce the issue?

The response from pluggy.ai returned an account with balance `27903.6` and the `account.bankData.automaticallyInvestedBalance` is `55807.2`.
Apparently the values are being added together resulting in `83710.799999999999`, which eventually fails at the `safeNumber` function.

### Where are you hosting Actual?

NAS

### What browsers are you seeing the problem on?

Other

### Operating System

Linux

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by tracing the Pluggy.ai account-linking flow and locating the safeNumber function referenced in the report. Reproduce the issue with an account balance of 27903.6 and automaticallyInvestedBalance of 55807.2; done means linking succeeds without the resulting value failing validation and the account balance is handled correctly.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
api
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
64/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.