CSV Import Keeps Failing on One Bad Row? The Tea Urn
2026-11-06
The tea urn in the village hall ticks as it heats. It is 9:42 on Saturday morning.
You are standing next to it with your laptop balanced on a stack of paperback crates. The book sale opens at ten. You promised to run the cake table, and you are nowhere near the cakes.
On the screen, a red banner: Import failed. Invalid data in file.
That's all it says. No row number. No column. Just "invalid data", as if the file were a suspect who won't talk.
Your shop's new autumn list is in that file: 1,400 rows of prices, stock counts and descriptions, exported from your supplier's system. You wanted it live before the weekend shoppers arrived. You wanted one thing to be done.
The row you can't see
You try again. Same banner.
You open the file. It looks fine. Rows and rows of it, scrolling past like fence posts. Somewhere in there is one line that is wrong, and your eyes slide over it every time. A stray quote mark. A date in the wrong order. A price with a little symbol stuck to it. You don't know which one it is, or whether it's the same kind of wrong each time.
So you do what everyone does. You delete the bottom half and try again. It fails. You delete the top half of what's left. It works. Now you know the problem is in the part you removed, which is only a few hundred rows.
You are, you realise, playing a guessing game with a spreadsheet. Standing by a tea urn. In a cardigan.
"Are you coming?" Hilde calls from the cake table. "The doors!"
"Two minutes," you say. It has been two minutes for twenty minutes.
What it quietly costs
The frustrating part isn't the file. It's the thing under the file.
It's the small, familiar thought: a real business wouldn't have this problem. A real business would have someone who knows about encodings and delimiters. A real business would have a person for this.
But you aren't a failing business. You're one person with a good product and a messy export. Those are different things, and they feel exactly the same at 9:50 on a Saturday.
It costs you other things, too. The Sunday you spend re-checking everything "just in case." The new products that go live three days late. The mild dread every time the supplier sends a fresh file, because you already know how this ends: you, the screen, and a vague red banner.
You start to avoid the import. You put it off. You tell yourself you'll do it "when you have a proper block of time." That block never comes, so the shop quietly runs on last month's list.
The moment it changes
The doors open. A first customer goes straight for the crime paperbacks. You close the laptop halfway and drink your tea, which is now the temperature of the room.
Later, at the sorting table, Hilde's nephew Jonas is helping out. He works with data for a living, and he glances at the half-closed laptop. "Still fighting the import?"
You tell him about the banner. About the halves. About the guessing.
He doesn't look shocked. He doesn't even look impressed. "That's not a you problem," he says. "The import tool is telling you something is wrong. It just isn't telling you where. The usual answer is to stop hunting by hand and have something check every row before the import, and tell you plainly which ones and why."
He says it like it's the most ordinary thing in the world. And maybe it is.
You think about that on the walk home. Not a cleverer way to squint at 1,400 rows. Just a calm list that says: row 612, this one, here's what's odd about it. And a preview of the fix before anything is touched, so nothing is changed behind your back.
It's such a small idea. It's strange how much of the knot in your stomach it loosens.
A different Monday
Picture the next supplier file arriving.
It's Monday, 8:30. The kettle is on. You save the file into a folder, run your check, and drink your coffee while it works. A short report appears: three rows need attention, here's what changed, here's what didn't. You look at it for a minute. It makes sense.
The import runs. The green banner is quiet and unremarkable, the way good news usually is.
By nine you're writing product descriptions, the part of the job you actually like. Nobody on a hall step is waving at you to hurry up. The new list is live before the first customer wakes up.
Nothing dramatic happened. A file just stopped being a small, recurring dread.
If that was you at the tea urn
If you've ever stared at "invalid data" with no row number and felt a little foolish, that wasn't a lack of skill. It was a missing tool.
The Clean Data in Minutes – CSV & Excel Cleaning Toolkit (Python) is made for exactly this kind of morning. It cleans messy CSV and Excel exports: duplicates, dates, phone numbers, encoding, splitting and merging, plus validation that shows you what's wrong. It does a dry run first and gives you a change report, so you always see what would happen before it does.
It comes with a 30-day money-back promise: if it doesn't help, you get a full refund, no questions.
You can take a look here, whenever it suits you: Clean Data in Minutes – CSV & Excel Cleaning Toolkit (Python)
An illustrative story, written with AI assistance.