DanielHaitink / YNABGoingDutch

A converter between the CSV format of Dutch banks and the YNAB format. Or sync your bank statement directly with YNAB!
http://ynab.danielhaitink.nl/
MIT License
46 stars 15 forks source link

Data does not arrive complete at YNAB after sync #61

Open beninhos opened 2 years ago

beninhos commented 2 years ago

When i synced an export .csv and upload it, the data does not arrive after synchronisation. At least, not always. Very strange. On some accounts it works. I used four bankaccounts in YNAB and the issue is skipping trough the accounts. last week it was a different account that did not sync.

I expect all transactions to arrive in the selected budget + account.

I tried to change API key, but this did not help. I get the green light for sync complete. But it is just not there.

DanielHaitink commented 2 years ago

Do you have any console output in the browser? So the sunchronisation seems to be completely random?

What happens when you do it by hand (so convert it to csv and upload it by hand to ynab)?

beninhos commented 2 years ago

I forgot the check the console. I did see the green ' successful sync' window. Now i had .csv with only three transactions and they did complete en sync to ynab. Could there be a limit on the amount of rows?

When i try to convert by hand and upload, it goes perfect.

DanielHaitink commented 2 years ago

Hmm, thats strange, at least I know that the converting is working like it is supposed to. Since the generated CSV is complete.

Could be that the api is being flooded with too many requests. However, i believe that the system should return an error when this happens.

I'll try to implement some more logging in the console when stuff like this happens. When you happen to run into this issue again, please copy and paste the console log.

Sadly, I am unable to debug the api myself anymore as I switched providers.

beninhos commented 2 years ago

I check the log, you mean the browser log right?

DanielHaitink commented 2 years ago

Yes

beninhos commented 2 years ago

hi,

This is the error in the console: {"error":{"id":"400","name":"bad_request","detail":"amount is required (index: 8)"}}

DanielHaitink commented 2 years ago

So somewhere there is a transaction that isn't converted correctly by the system. What bank are you using? Do you maybe have a small anonymized example file that i can use to fix this problem?

beninhos commented 2 years ago

I'am using bunq. Do you have an place i can upload too?

DanielHaitink commented 2 years ago

You can upload it to the GitHub commit as a zip or you can mail it to me if you prefer. You can find my email in my profile