[Bug]: Importing CSV fails to parse date in specific account only #2831

Closed
opened 2026-02-28 20:29:54 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @cjfagerstrom on GitHub (Jan 17, 2026).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I have confirmed with two different CSV files that I can import the data into other accounts, but there is one specific account that fails to parse the date and says that field is empty and will not import the CSV data. Sample CSV attached.

Problem account:

Image Image

Testing importing transactions to another account:

Image Image

How can we reproduce the issue?

Unsure - haven't seen the issue and seems to be isolated to a specific account.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Brave

Operating System

MacOS

Originally created by @cjfagerstrom on GitHub (Jan 17, 2026). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? I have confirmed with two different CSV files that I can import the data into other accounts, but there is one specific account that fails to parse the date and says that field is empty and will not import the CSV data. Sample [CSV](https://github.com/user-attachments/files/24690134/jan.csv) attached. #### Problem account: <img width="1172" height="230" alt="Image" src="https://github.com/user-attachments/assets/bc11ce0d-08fa-4373-87b3-1fc3aa438188" /> <img width="803" height="722" alt="Image" src="https://github.com/user-attachments/assets/72bb01c0-0f5c-4e01-bbc1-3af6c71f95be" /> #### Testing importing transactions to another account: <img width="800" height="726" alt="Image" src="https://github.com/user-attachments/assets/0b5ebb7f-7eaa-41db-bfbb-24cd52302981" /> <img width="1315" height="368" alt="Image" src="https://github.com/user-attachments/assets/1b74cc53-6989-4d76-801e-90cdd34d0eb8" /> ### How can we reproduce the issue? Unsure - haven't seen the issue and seems to be isolated to a specific account. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Brave ### Operating System MacOS
GiteaMirror added the transaction importbug labels 2026-02-28 20:29:54 -06:00
Author
Owner

@db-src commented on GitHub (Jan 18, 2026):

At the risk of asking a silly question, did you actually select the columns to look in for each field, in real use? Because in your "Problem account:" screenshot, you have not, but in the "another account" screenshot you did.

Actual remembers this per account after you've done it, hence why your other accounts work, but you have to do it the first time for any given account.

@db-src commented on GitHub (Jan 18, 2026): At the risk of asking a silly question, did you actually select the columns to look in for each field, in real use? Because in your "Problem account:" screenshot, you have not, but in the "another account" screenshot you did. Actual remembers this per account after you've done it, hence why your other accounts work, but you have to do it the first time for any given account.
Author
Owner

@matt-fidd commented on GitHub (Jan 20, 2026):

I imagine @db-src is correct here, make sure the CSV import settings are correctly configured

@matt-fidd commented on GitHub (Jan 20, 2026): I imagine @db-src is correct here, make sure the CSV import settings are correctly configured
Author
Owner

@cjfagerstrom commented on GitHub (Jan 21, 2026):

Yes, I did. This is what I got when I tried to import the file. My initial suspicion is that it's failing because I just created this account, but I'm trying to import data with dates that pre-date the initial creation date of this account.

Image

However, it does not appear to be in issue with the initial creation date of the account as a test with a future-dated transaction failed to import with the same error.

Image
@cjfagerstrom commented on GitHub (Jan 21, 2026): Yes, I did. This is what I got when I tried to import the file. My initial suspicion is that it's failing because I just created this account, but I'm trying to import data with dates that pre-date the initial creation date of this account. <img width="795" height="751" alt="Image" src="https://github.com/user-attachments/assets/c351bc3d-1699-4d9f-b8a7-9ca4965da8b2" /> However, it does not appear to be in issue with the initial creation date of the account as a test with a future-dated transaction failed to import with the same error. <img width="795" height="756" alt="Image" src="https://github.com/user-attachments/assets/1af11d4e-554d-410a-9943-8eb16b155378" />
Author
Owner

@matt-fidd commented on GitHub (Jan 21, 2026):

@cjfagerstrom it looks like you're using the incorrect date format. You're using MM/DD/YYYY but your data is in MM/DD/YY (2 digit year) format.

@matt-fidd commented on GitHub (Jan 21, 2026): @cjfagerstrom it looks like you're using the incorrect date format. You're using `MM/DD/YYYY` but your data is in `MM/DD/YY` (2 digit year) format.
Author
Owner

@cjfagerstrom commented on GitHub (Jan 21, 2026):

@matt-fidd Then why does it import into other accounts?

@cjfagerstrom commented on GitHub (Jan 21, 2026): @matt-fidd Then why does it import into other accounts?
Author
Owner

@cjfagerstrom commented on GitHub (Jan 21, 2026):

Oh wait - I see what you're saying. I've never adjusted that field to my recollection, but it's possible I did a long time ago.

@cjfagerstrom commented on GitHub (Jan 21, 2026): Oh wait - I see what you're saying. I've never adjusted that field to my recollection, but it's possible I did a long time ago.
Author
Owner

@matt-fidd commented on GitHub (Jan 21, 2026):

@matt-fidd Then why does it import into other accounts?

In your other account

Image

In your failing account

Image
@matt-fidd commented on GitHub (Jan 21, 2026): > [@matt-fidd](https://github.com/matt-fidd) Then why does it import into other accounts? In your other account <img width="125" height="126" alt="Image" src="https://github.com/user-attachments/assets/75a26866-264b-49e9-86ee-4e8e2cbebefe" /> In your failing account <img width="207" height="134" alt="Image" src="https://github.com/user-attachments/assets/1d0c9f40-fc9a-46ba-b09c-80de0e8e7f78" />
Author
Owner

@cjfagerstrom commented on GitHub (Jan 21, 2026):

Yeah - I just saw that. I've honestly never noticed that field. I don't remember adjusting it on the other accounts, and I created 3 other accounts at the same time and when I check the other 3, they all defaulted to YY. Only this one went to YYYY.

@cjfagerstrom commented on GitHub (Jan 21, 2026): Yeah - I just saw that. I've honestly never noticed that field. I don't remember adjusting it on the other accounts, and I created 3 other accounts at the same time and when I check the other 3, they all defaulted to YY. Only this one went to YYYY.
Author
Owner

@StephenBrown2 commented on GitHub (Jan 22, 2026):

Actual will try to figure out the right format for the file you import the first time, and then save that format for later, so you probably didn't do it manually, but at least first tried importing a file with that format to that account.

@StephenBrown2 commented on GitHub (Jan 22, 2026): Actual will try to figure out the right format for the file you import the first time, and then save that format for later, so you probably didn't do it manually, but at least first tried importing a file with that format to that account.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2831