StriveFormats
GeneralGuide

Fix CSV Column Mismatch Errors

How to diagnose and fix column mismatch errors in CSV imports: wrong column names, case differences, extra spaces, and column order problems across ecommerce platforms.

Updated 2026-10-29
What you'll learn
  • ✓What causes column mismatch errors in CSV imports
  • ✓How to compare your headers to the platform's expected columns
  • ✓How to fix case differences, extra spaces, and renamed columns
  • ✓How to handle extra or missing columns without breaking the import
  • ✓How to use the official platform template as your starting point
Best for: Sellers troubleshooting import failures where the platform reports unrecognized or missing columns
Time to complete: 7 minutes

Ready to fix your CSV? Upload it for instant validation and auto-fixes.

Open CSV Fixer

What Is a Column Mismatch?

A column mismatch happens when the column names in your CSV header row don't match what the import platform expects. The platform uses column names to map your data to the correct product fields. If a column name is wrong, even by a single space or letter, the platform either ignores the column (your data is silently dropped) or rejects the import entirely.

Column mismatches are one of the most common causes of "nothing imported" or "all fields blank" problems.

Common Causes of Column Mismatches

1. Renamed columns

You renamed a required column to something that makes sense to you but not to the platform.

What you wroteWhat the platform expects
Product TitleTitle (Shopify)
product_nameName (WooCommerce)
Item Nameitem_name (Amazon)
Listing TitleTITLE (Etsy export)
Listing TitleTitle (eBay)

Fix: Use the platform's exact column name. Do not add words or rename for clarity.

2. Wrong case

Some importers match column names case-sensitively, so matching the template's case exactly is the only safe choice.

WrongCorrect
handleHandle (Shopify)
TITLETitle (Shopify)
Variant priceVariant Price (Shopify)
regular_priceRegular price (WooCommerce)

Fix: Compare character by character. Even Regular Price vs Regular price (lowercase p) can matter. WooCommerce shows a mapping screen during import, where you can pick the right field for any column it doesn't recognize.

3. Leading or trailing spaces

Spreadsheet editors can silently add a space before or after a column name. The platform sees " Title" (with a leading space) as a completely different column from "Title".

How to detect: Open the CSV in a plain text editor (not a spreadsheet app). Look at the raw first line. Any space before or after a column name is visible there.

Fix in Excel: Don't use Find and Replace on spaces: it would also remove the spaces inside names like Variant Price. Instead, in an empty row, enter =TRIM(A1) and fill it right across all columns, then copy that row and use Paste Special > Values over row 1. Delete the helper row afterwards.

Fix in Python:

import csv

# utf-8-sig also removes a BOM, which strip() would leave in place
with open("input.csv", newline="", encoding="utf-8-sig") as f:
    reader = csv.DictReader(f)
    # Strip spaces from all column names
    fieldnames = [h.strip() for h in reader.fieldnames or []]
    rows = [dict(zip(fieldnames, row.values())) for row in reader]

with open("output.csv", "w", newline="", encoding="utf-8") as f:
    writer = csv.DictWriter(f, fieldnames=fieldnames)
    writer.writeheader()
    writer.writerows(rows)

4. BOM marker corrupting the first column name

If your file was saved as "UTF-8 with BOM", the first column name has 3 invisible bytes prepended. A header that looks like Handle in Excel can reach a tool that doesn't expect a BOM as \ufeffHandle, which no longer matches.

Fix: If an importer reports the first column as unrecognized, re-save the file without BOM. In VS Code: click the encoding indicator → "Save with Encoding" → select UTF-8 (without BOM).

5. Column order issues

Some platforms require columns in a specific order (eBay File Exchange, some Amazon flat file templates). Reordering columns in Excel can break these imports even if the column names are correct.

Fix: Download a fresh template from the platform and paste your data into it rather than modifying your own file's column order.

How to Compare Headers to the Platform Template

  1. Download the official template CSV from the platform
  2. Open both files in a text editor (not Excel)
  3. Copy both header rows (row 1) into a diff tool or compare manually
  4. Look for: different text, extra spaces, different case, extra or missing columns

Online diff tools: paste both header rows and compare side by side.

Python comparison:

import csv

with open("platform_template.csv", encoding="utf-8-sig") as f:
    expected = next(csv.reader(f))

with open("your_file.csv", encoding="utf-8-sig") as f:
    actual = next(csv.reader(f))

# utf-8-sig removed any BOM; now strip spaces
expected = [h.strip() for h in expected]
actual = [h.strip() for h in actual]

missing = set(expected) - set(actual)
extra = set(actual) - set(expected)
print("Missing from your file:", missing)
print("Extra in your file:", extra)

Handling Extra Columns

If your file has extra columns the platform doesn't recognize:

  • Most platforms (Shopify, WooCommerce): extra columns are silently ignored, so they're not a problem
  • Amazon flat files: columns that aren't in the template may be rejected
  • eBay File Exchange: unrecognized columns may produce warnings or errors

Fix for strict platforms: Remove any column that isn't in the official template.

Handling Missing Optional Columns

If your file is missing optional columns:

  • The platform uses its default value for those fields
  • This is almost always acceptable for optional fields
  • For required fields, missing columns cause import failures, and every row will fail

Fix This Automatically with StriveFormats

Upload your CSV and StriveFormats compares your headers to the selected platform's expected columns. It flags missing required columns, identifies extra columns, and detects BOM markers and case differences.

Open CSV Fixer | View CSV Templates

Need help fixing your file?

Upload your CSV to StriveFormats for instant validation, auto-fixes, and a clean export.

The CSV Fixer showing a Shopify file with one blocking issue, the error and warning counts, and the problem cells highlighted