Skip to content

Error on importing ASN CSV (synced) #68

@WesSec

Description

@WesSec

Describe the bug
When importing an ASN csv, the following error occurs

ynabConnect.js:214  ERROR
YNABAccount.createTransactions @ ynabConnect.js:214
(anonymous) @ app.js:50
Promise.then
syncAccount @ app.js:44
SelectionPopup.Budget @ app.js:98
(anonymous) @ selectionPopup.js:64
ynabConnect.js:215  TypeError: Cannot read properties of undefined (reading 'ClearedEnum')
    at Transaction.getYNABTransaction (ynabConnect.js:301:50)
    at ynabConnect.js:207:41
    at Array.forEach (<anonymous>)
    at YNABAccount.createTransactions (ynabConnect.js:198:26)
    at app.js:50:45
YNABAccount.createTransactions @ ynabConnect.js:215
(anonymous) @ app.js:50
Promise.then
syncAccount @ app.js:44
SelectionPopup.Budget @ app.js:98
(anonymous) @ selectionPopup.js:64

I have linked my ynab via a PAT, and upon loading the page i get the green banner that YNAB is connected

To Reproduce
Steps to reproduce the behavior:

  1. download CSV from ASN
  2. Upload CSV to site
  3. Select Budget
  4. Select Account
  5. <error>

Expected behavior
For the CSV to be parsed and be uploaded to the budget

Console
see above, i do see 3 transactions being created int the info log before the error occurs

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser edge
  • Version 127.0.2651.105

Additional context
manually converting the csv and uploading works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions