Fixing WooCommerce product CSV import errors
|

How to Fix WooCommerce Product CSV Import Errors (Every Error, Explained)

Most WooCommerce CSV import errors come down to one of four things: a file WooCommerce can’t read (wrong delimiter, wrong encoding, too big), a row it can’t identify (no ID or SKU, or a SKU that already belongs to something else), a value it can’t use (text in a price column, an unknown product type) or a variation whose parent isn’t there. The harder problem is the errors WooCommerce doesn’t report: rows it imports with the wrong status, the wrong stock or no sale, which you only notice when customers do.

This guide lists the errors the WooCommerce product importer shows, in its own words, what each one means and the fix. It also covers the silent ones, with the exact rule WooCommerce applies, and shows how to catch all of them before the import with Catalogafe, a free plugin that dry-runs the CSV without creating, updating or deleting a single product. If you want the dry run first and the error list second, start with how to validate a WooCommerce product CSV before import.

See a dry run catch these errors before an import, in 87 seconds:

Where WooCommerce shows import errors (and where it doesn’t)

The importer at Products → Import reports problems in two places:

  • Before the import, on the upload and Map CSV fields to products screens: wrong file type, a file it can’t open, and the one encoding message it has: “The file is empty or using a different encoding than UTF-8, please try again with a new file.”
  • After the import, on the Import complete! screen: “X products imported. X products were skipped. Failed to import X products.” with a View import log link. The log is a two-column table, Product and Reason for failure, where a row is named by its Name, ID 123, SKU ABC and/or GTIN, UPC, EAN, or ISBN.

Everything else, including values it quietly rewrites, is not reported at all. The import “succeeds” and the product is wrong. That’s the category to watch for, so each section below splits the errors into what WooCommerce reports and what it silently does, and names the Catalogafe issue code that catches it. The full code list is in issue codes explained.

File-level errors: the import won’t start

These stop the whole file. In Catalogafe they appear as a single red notice above the result instead of an issues table, because nothing past that point can be checked.

Wrong delimiter

What you see. WooCommerce assumes a comma. Open a semicolon-separated export from Excel or a European shop system and the mapping screen typically shows your entire header line as one Column name with nothing sensible to map it to; or every value lands in the first column.

Fix. On the WooCommerce upload screen click Show advanced options and set CSV Delimiter to the one your file uses. Catalogafe’s dry run has a Delimiter dropdown with Auto detect, Comma, Tab, Semicolon and Pipe. Auto detect also honours a UTF-8 byte-order mark and Excel’s sep=; first line, and the result’s File line always tells you which delimiter was used (“10 rows, 42 columns, semicolon delimiter”), so you know exactly what to pick in WooCommerce.

Not UTF-8

What you see. An Excel “CSV” saved in a Windows code page gives WooCommerce the message above, or imports with accented characters replaced by ? or garbage. WooCommerce has a Character encoding of the file option under advanced options (default Autodetect) that converts other encodings to UTF-8 if your server has the mbstring extension.

Fix. Re-export as CSV UTF-8 (Excel has it as a separate format in the Save As list; Google Sheets and Numbers export UTF-8 by default). Catalogafe tells you which line broke: “Line 57 is not valid UTF-8. Re-export the file as UTF-8.” It stops at the first bad line because it won’t guess at the encoding.

Duplicate or empty header

What you see. WooCommerce maps columns by name, so two columns called Stock means only one of them wins, and you won’t be told which. An empty header cell maps to Do not import.

Fix. Catalogafe refuses to continue with “The header row contains duplicate column names.” or “The header row contains an empty column name.” Both include the case where two different labels mean the same column to WooCommerce, such as Stock and stock_quantity, or Regular price and regular_price. When two headers survive that check but still map to the same WooCommerce field (for example a GTIN, UPC, EAN, or ISBN column next to a global_unique_id column), you get a duplicate_header error in the issues table instead: “The “global_unique_id” column appears more than once. Remove the duplicate before importing.” Keep one column, delete the other.

File type, size and row limits

  • Wrong extension. WooCommerce: “Invalid file type. The importer supports CSV and TXT file formats.” Catalogafe: “Catalogafe supports CSV and TXT files only.” Save the spreadsheet as CSV, not XLSX or Numbers.
  • Too big. WooCommerce’s upload form shows Maximum size: followed by your server’s upload limit, which is a hosting setting, not a WooCommerce one. If the file is over it, use the Alternatively, enter the path to a CSV file on your server field after uploading it by FTP or SFTP, or split the file. Catalogafe reads files up to 16 MB and says so if you exceed it: “The file is larger than 16 MB. Export a smaller CSV or use the WooCommerce importer in batches.”
  • Too many rows. Catalogafe checks up to 10,000 product rows per file (“The file has more than 10000 product rows. Split it before importing.”). WooCommerce has no fixed row limit, but a very large import runs in batches over many requests and is where PHP time limits bite; splitting a huge catalog into a few files is the easier path either way.
  • Nothing to import. “The file has no header row.” or “The file has no product rows after the header.” usually means you exported an empty filter or saved the wrong sheet of a workbook.

Row-level errors: the row fails or imports wrong

These are the lines in View import log, plus the ones that never make it there.

No ID, SKU or GTIN

WooCommerce matches each row to an existing product by ID or SKU (and, with Update existing products on, by GTIN/UPC/EAN/ISBN when both are blank). A row with none of them is always treated as a brand-new product, so re-importing the same file creates duplicates. WooCommerce doesn’t flag this.

Catalogafe does: missing_identifier, “A product row needs an ID, SKU, or global unique ID.”, an error. Give every row a SKU; it’s the identifier that survives a move between sites, where IDs don’t.

Bad or duplicate ID

An ID that isn’t a positive whole number can’t match anything. Catalogafe: invalid_id, “Product ID must be a positive whole number or blank.” Leave ID empty for new products. The same ID on two rows (duplicate_id) means the second row overwrites the first in update mode; make them unique or drop the ID and rely on SKU.

Duplicate SKU

Three different things can happen, depending on where the duplicate is:

  • Same SKU twice in the file. WooCommerce processes rows in order. With Update existing products off, the first row creates the product and the second is skipped with “A product with this SKU already exists.” With it on, the second row updates the first row’s product, and the import log says nothing. Catalogafe: duplicate_sku, “The same SKU appears in more than one row.”
  • SKU already in your store, update mode off. Skipped, with the same message. This is also what happens when you re-import an export without ticking the box: everything is “already exists”. Catalogafe predicts it per row as the warning will_skip_existing: “This product already exists and WooCommerce will skip it unless “Update existing products” is selected.”
  • SKU belongs to a different product than the ID on the row. The row fails with “Invalid or duplicated SKU.”, which is WooCommerce’s product validation refusing a non-unique SKU. Fix the ID or the SKU so they point at the same product.

The mirror image, update mode on but nothing matches, is a skip too: “No matching product exists to update.” That one catches people who export from one site and import into another with the box ticked: the IDs don’t exist there, so WooCommerce creates nothing. In that situation untick the box (new products are created) or clear the ID column so matching falls back to SKU.

Duplicate or malformed GTIN, UPC, EAN, ISBN

WooCommerce enforces uniqueness on the GTIN, UPC, EAN, or ISBN column with “Invalid or duplicated GTIN, UPC, EAN or ISBN.”, and rejects a letter X anywhere but the last position of an ISBN-10. In update mode, matching by GTIN against a product of another type fails with “The Global Unique ID matches a product of a different type.”

Catalogafe checks the file for the same value on two rows (duplicate_global_unique_id, error), for values that don’t look like a barcode (invalid_global_unique_id, warning: “GTIN, UPC, EAN, or ISBN should contain digits, hyphens, and an optional final X.”) and, by looking up your store, for a value that already belongs to another product (global_unique_id_exists, warning). The lookup is read-only.

Invalid product type

Type must be simple, variable, variation, grouped or external, optionally followed by , virtual and/or , downloadable. Anything else fails the row with “Invalid product type.” A blank Type is not an error: WooCommerce imports the row as a simple product, which is a surprise if the row was meant to be a variation.

Catalogafe: invalid_type (“Type must be simple, variable, variation, grouped or external.”), and unknown_type_flag as a warning when the part after the comma isn’t virtual or downloadable, because WooCommerce drops flags it doesn’t know. Note that Catalogafe also treats a blank Type as invalid_type, deliberately, so the “accidental simple product” can’t slip through.

Prices: text, negatives and a sale that isn’t one

WooCommerce doesn’t reject a price it can’t read. It runs Regular price through its decimal formatter, which strips every character that isn’t a digit, dot or minus. Two consequences you won’t see in any log:

  • $12.50 imports as 12.50, which is fine. abc imports as an empty price, so the product has no price and can’t be bought.
  • 12,50 on a store whose decimal separator is a dot imports as 1250. The comma is removed, not converted. (If your store’s decimal separator is set to a comma under WooCommerce → Settings → General, the comma is understood.)

Catalogafe flags any non-numeric value in a numeric column as an error before it gets that far: invalid_number, “regular_price must be a number or blank.” (the same code covers Sale price, Low stock amount, Weight, Length, Width and Height). Negative prices get their own errors, negative_regular_price and negative_sale_price.

Sale price not lower than regular price. WooCommerce stores both values and then decides whether the product is on sale by checking that the regular price is greater than the sale price. If it isn’t, the product simply sells at the regular price with no sale badge, and nothing tells you. Catalogafe warns with sale_not_lower: “Sale price is not lower than regular price.” It’s a warning rather than an error because the import itself succeeds; it’s your pricing that’s wrong.

Stock: whole numbers, negatives and the “In stock?” trap

Stock must be a whole number. Text or a decimal is an error in Catalogafe (invalid_stock: “Stock quantity must be a whole number or blank.”). WooCommerce coerces it instead, so 4.5 becomes 4 and abc becomes 0 with stock management switched on.

Negative stock is allowed; it’s how WooCommerce records units sold on backorder. But when WooCommerce saves a stock-managed product whose quantity isn’t above the out-of-stock threshold, it recalculates the stock status: on backorder if backorders are allowed, otherwise out of stock. So a row with -3 and Backorders allowed? blank imports as out of stock, whatever the In stock? column said. Catalogafe warns with negative_stock only in that combination: “Stock quantity is negative but this row does not allow backorders. WooCommerce imports it and marks the product out of stock; set Backorders allowed? to 1 or notify if the negative stock is intended.”

“In stock?” accepts fewer values than you’d think. WooCommerce reads 1 as in stock, 0 as out of stock and backorder as on backorder. Any other non-empty value is treated as “true”, which means in stock. A column full of outofstock or onbackorder, copied from the admin’s own status names, imports every product as in stock. Catalogafe’s invalid_stock_status warning spells this out: “WooCommerce reads In stock? only as 1 (in stock), 0 (out of stock) or backorder, and imports any other value as in stock.” Values that already mean in stock (instock, yes, true) import as intended, so they’re not flagged. Backorders allowed? works the same way with 1, 0 and notify; anything else becomes no (invalid_backorders).

Dates: sale start and end

WooCommerce reads Date sale price starts and Date sale price ends with PHP’s date parser (or as a Unix timestamp). A value it can’t parse becomes no date, silently, so a sale that should have been scheduled is live immediately or never ends. Catalogafe uses the same parser and raises invalid_sale_start / invalid_sale_end as errors (“Sale start date is not a valid date.”), plus sale_date_order when the start is after the end.

Neither tool can tell you that 03/04/2026 meant 3 April rather than 4 March; both parse it the US way. Write dates as 2026-04-03 and the question never comes up.

Published, visibility and tax status

Published is the most dangerous column in the file, because WooCommerce turns its value into a number: 1 is published, 0 is private, -1 is draft, 2 is pending review, and true/false mean published/draft. Any other text, such as yes or published, converts to 0, which is private: the product exists, you can see it while logged in, and no customer ever will. Catalogafe warns with invalid_published for anything other than 1, 0 or -1 (so 2 gets a warning too, even though WooCommerce accepts it as pending). Visibility in catalog should be visible, catalog, search or hidden (invalid_visibility), and Tax status taxable, shipping or none (invalid_tax_status).

Missing name, bad URLs, empty terms

  • Name. A new product with no name imports as a nameless product. Catalogafe: missing_name (error) for new non-variation rows. Variations don’t need one.
  • External URL. For external products, a missing URL is external_missing_url (warning) and a malformed one is external_invalid_url (error: “External URL must be a valid HTTP or HTTPS URL.”).
  • Images. WooCommerce downloads each URL during the import; one that fails stops the row with “Unable to use image “…”.” or “Not able to attach “…”.”. Catalogafe checks the URL’s format only (invalid_image_url, warning); a dry run never contacts other servers, so it can’t tell you a link is dead, only that it isn’t a link.
  • Categories and tags. Clothing, , Sale has an empty term between two commas; Catalogafe warns with empty_term. Category paths use > for hierarchy (Clothing > Hoodies), and WooCommerce creates any category that doesn’t exist, so a typo makes a new category rather than an error.

Variation and parent errors

Variations are where most “my WooCommerce import isn’t working” threads end up. WooCommerce’s own messages:

  • “Variation cannot be imported: Missing parent ID or parent does not exist yet.”: the Parent cell is blank, or names a product that isn’t in the store and isn’t created earlier in the same file.
  • “Variation cannot be imported: Parent product cannot be a product variation”: Parent points at another variation.
  • With Update existing products on and a variation row that doesn’t exist yet, WooCommerce 11.1 and later checks whether it may create it: “A new variation cannot be created without a parent product.”, “A new variation can only be created for a variable parent product.”, “A new variation cannot be created for a parent product that does not exist.”, “A new variation cannot be created because the parent product has no “Size” attribute.” and “A new variation cannot be created because “XL” is not an option of the parent product’s “Size” attribute.” Each is a skip, listed in the log with its reason.

The Parent value is either the parent’s SKU or id:123, which is how the WooCommerce exporter writes it. A variable product created in the same file counts as a valid parent, as long as its row comes first.

Catalogafe reproduces the parent lookup: missing_parent (“A variation row needs a Parent.”) and missing_parent_product (“The Parent ID or SKU does not match an existing product or a variable product in this file.”) are errors. It also warns when a variation has no attribute values at all (variation_missing_values), and errors when an Attribute N value(s) column is filled but Attribute N name is blank (attribute_missing_name) or a variation’s attribute has a name but no value (attribute_missing_value). What it does not check is whether a variation’s value is one of the parent’s options; that’s WooCommerce’s last check above, and it still applies.

Walkthrough: run the dry run before you import

Catalogafe is a free plugin from CommerceWP. It reads the CSV, looks up IDs and SKUs in your store and predicts what the WooCommerce importer would do. It never writes a product, never changes the file and never sends it anywhere; when the check is clean you import with WooCommerce’s own importer, as before.

  1. Install and activate Catalogafe (it needs WooCommerce active). Go to Products → CSV Dry Run.
  2. Next to CSV or TXT file, choose the file you’re about to import.
  3. Leave Delimiter on Auto detect unless you already know it’s wrong.
  4. Under WooCommerce mode, tick Update existing products if, and only if, you’ll tick it in the WooCommerce importer. The skip/update prediction depends on it.
  5. Click Run dry-run check.
Products → CSV Dry Run: the CSV or TXT file field, the Delimiter dropdown set to Auto detect, the Update existing products checkbox, the Run dry-run check button and the Download WooCommerce CSV template link

The result opens under the form. Here is a ten-row test file with the update mode off, which is the kind of file that would “import fine” and leave a mess:

  • Quality score 64/100. The score starts at 100, minus 8 per error and 2 per warning. Green from 90, amber from 70, red below.
  • Create 5, Update 0, Skip 1, Errors 4, Warnings 2. Rows with an error aren’t counted as create or update; they’d fail or import wrong.
  • File: 10 rows, 42 columns, comma delimiter.
  • A red notice: “Do not import until every blocking error is fixed.” A clean file gets a green one, “No blocking errors found. Review warnings, then use the normal WooCommerce importer.”, with an Open WooCommerce importer button.
  • WooCommerce mapping: Mapped lists the columns WooCommerce will use, Recommended but missing names Type, SKU or Name if absent, and Not mapped lists columns WooCommerce ignores. That last list is where a misspelt header shows up.
the dry-run result: quality score 64/100, the Create 5 / Update 0 / Skip 1 / Errors 4 / Warnings 2 cards, the File line, the red 'Do not import' notice and the WooCommerce mapping lists

Below that is the Issues table with Line, Level, Code and Issue. Line numbers are the CSV’s own, header included, so they match the row numbers in your spreadsheet. For the test file:

LineLevelCodeIssue
3Warningwill_skip_existingThis product already exists and WooCommerce will skip it unless “Update existing products” is selected.
4Warningsale_not_lowerSale price is not lower than regular price.
5Errorinvalid_numberregular_price must be a number or blank.
7Errorduplicate_skuThe same SKU appears in more than one row.
8Errormissing_identifierA product row needs an ID, SKU, or global unique ID.
11Errormissing_parent_productThe Parent ID or SKU does not match an existing product or a variable product in this file.
the Issues table with Line/Level/Code/Issue, listing will_skip_existing, sale_not_lower, invalid_number, duplicate_sku, missing_identifier and missing_parent_product with their line numbers

Read it against the sections above: line 5 would have imported with an empty price, line 7 would have been skipped or would have overwritten line 6, line 8 would have created a duplicate on every re-import, and line 11 would have failed in the log. Line 3 is only a warning because it’s expected with update mode off; if you meant to update, tick the box and run again.

Under Fix report, Download CSV gives you the same table as a file (severity, line, code, message) to work through next to your spreadsheet, and Download JSON gives the whole result. The screen shows the first 200 issues; the report keeps up to 5,000, and the totals always count every issue. Report links expire after an hour; run the check again if you need a fresh one. Fix the source spreadsheet, re-export, re-check, and import when the errors card reads 0.

Fix checklist

Before any WooCommerce product import, in order:

  1. Export as CSV UTF-8, comma-separated if you can choose. If not, note the delimiter for the WooCommerce advanced options.
  2. One header per field. No blanks, no duplicates, WooCommerce’s own labels where possible (download the template from the dry-run screen to copy them).
  3. Every row has a SKU. Unique within the file and, for new products, not already in the store.
  4. Type filled in on every row: simple, variable, variation, grouped or external.
  5. Numbers are numbers. No currency symbols, no thousands separators, decimal point matching your store setting. Sale price lower than regular price.
  6. Dates as YYYY-MM-DD.
  7. Status columns use WooCommerce’s codes: Published 1/0/-1, In stock? 1/0/backorder, Backorders allowed? 1/0/notify.
  8. Variation rows come after their parent, with Parent set to the parent’s SKU or id:N, and attribute values that exist on the parent.
  9. Decide on “Update existing products” and set it the same way in the dry run and the importer.
  10. Run the dry run, fix until errors are 0, read the warnings, then import.

Common questions

Why does the WooCommerce CSV import say “A product with this SKU already exists”?

Because a product with that SKU is already in your store and Update existing products was not ticked, so WooCommerce skipped the row rather than overwrite it. If you want the row to update the product, tick the box and import again. If you expected a new product, the SKU is reused; change it. Catalogafe shows this per row before the import as the will_skip_existing warning.

Why does my import finish but the products are private, out of stock or not on sale?

Those are the silent errors. A Published value WooCommerce can’t read becomes private; negative stock without backorders becomes out of stock; a sale price that isn’t lower than the regular price is stored but never applied; and any In stock? value other than 1, 0 or backorder means in stock. None of them appear in the import log. A dry run flags each one (invalid_published, negative_stock, sale_not_lower, invalid_stock_status).

How do I fix “Variation cannot be imported: Missing parent ID or parent does not exist yet”?

Fill the variation’s Parent cell with the parent’s SKU or id:123, make sure that parent is a variable product that exists in the store or appears earlier in the same file, and check the SKU for typos. Catalogafe reports the line of every variation whose parent it can’t find (missing_parent, missing_parent_product).

Why does WooCommerce import everything into one column?

The file’s delimiter isn’t a comma. Click Show advanced options on the upload screen and set CSV Delimiter to a semicolon, tab or pipe. Catalogafe’s auto-detect tells you which one your file uses.

Does a dry run change anything in my store?

No. Catalogafe never creates, updates or deletes products, doesn’t modify or keep the uploaded file and doesn’t contact other servers. It reads the CSV and looks up existing IDs, SKUs and GTINs so it can predict create, update and skip. The import itself is still done by WooCommerce’s importer.

What are the limits of the dry run?

CSV or TXT files up to 16 MB and 10,000 product rows. The on-screen table shows the first 200 issues; the downloadable report holds up to 5,000, and the totals always count every issue. It checks URL format but not whether a URL responds, and it doesn’t verify that a variation’s attribute value exists on its parent, which WooCommerce still checks at import time.

Related

Sources

Importer messages and behaviour are taken from the WooCommerce 11.2.1 product CSV importer source and the WooCommerce importer documentation; dry-run behaviour, issue codes and messages from Catalogafe 1.0.0 and its documentation, checked on November 1, 2026. The worked example is a test file on a demo store. If anything here is out of date, tell us and we’ll fix it.

Similar Posts