Clean Import / Guide
WooCommerce CSV import errors: messages and fixes
The WooCommerce product CSV importer skips rows with a short message. This guide quotes each message word for word from the WooCommerce source code, explains the cause and gives a manual fix. You need no importer app.
Online version: https://sidecarsoft.com/guides/woocommerce-csv-import-errors/
Preserve downloadable files
Link to sectionFictional CSV fragment: before = damaged working copy; after = values verified against the original export. Placeholder URLs do not work. Incomplete example. (Current schema, read 23 November 2026.)
Type combinations: use one base: simple or variation for downloadable items; add downloadable and optionally virtual. Do not combine simple with variable. Virtual is optional. Quote comma-separated Type values. (11.3.1 parser.)
- Header: SKU,Type,Download 1 name,Download 1 URL,Download 2 name,Download 2 URL,Download limit,Download expiry days
- Before: DEMO-PACK,simple,Workbook,https://example.invalid/cover.jpg,Notes,,5,30
- After: DEMO-PACK,"simple, downloadable, virtual",Workbook,https://example.invalid/workbook.zip,Notes,https://example.invalid/notes.pdf,5,30
Update caution: file lists replace downloads, not append. Keep all numbered name/URL pairs and exported Download n ID. Missing IDs generate new identifiers. A name without its URL is skipped. (File parser; download setter.)
Limits: 5 permits five downloads; 30 sets expiry days. Mapped empty limits become unlimited/no expiry in 11.3.1. The schema allows n/a, but this parser casts it to 0; do not substitute it blindly. (Integer parser; setters.)
Check manually: back up; verify SKU, Type, numbering, IDs, limits and files before replacing references. Download URLs deliver files; Images supplies pictures. Check file availability and approved download directories in staging. To preserve fields during unrelated updates, omit their columns or choose Do not import, including Type. Rehearse fictional products/test orders on staging, never real customer orders; inspect log, files and test access. Clean Import remains coming soon. Past-purchase behavior also needs checking (read 23 November 2026).
Compare stock controls
Link to sectionSeparate controls: Stock combines quantity and stock management. In stock? sets availability (1=yes, 0=no); Backorders allowed? sets permission (0=no, 1=yes, notify=yes with notification). Availability is not a quantity or backorder permission. (Current schema, read 23 November 2026.)
Fictional comparison: these values illustrate the schema, not real inventory or an import file.
| Example | Stock | Management |
|---|---|---|
| DEMO-COUNT | 20 | Enabled; quantity 20 |
| DEMO-ZERO | 0 | Enabled; quantity zero |
| DEMO-BLANK | (blank cell) | Disabled |
| DEMO-VARIANT | parent | Variation inherits (schema) |
Blank changes behavior: in WooCommerce 11.3.1, mapped blank Stock disables management and defaults availability to in stock if In stock? is absent. Zero remains a managed quantity. Mapped blank Backorders allowed? becomes no. (Stock handling; backorder parser.)
Check inheritance: the current schema specifies parent, but the 11.3.1 quantity parser passes nonblank values through numeric normalization without a parent branch. Treat this documentation/code mismatch as a staging check, not proof of inheritance. (Quantity parser; normalization, read 23 November 2026.)
Manual check: keep the original export, record intended quantity, management, availability and backorders per SKU, and verify column mapping. To preserve stock fields in an update, omit their columns or select Do not import; do not blank cells as a repair. Test a few fictional rows on staging, then inspect parent/variation stock settings and storefront availability before proceeding.
Keep customs identifiers intact
Link to sectionWooCommerce 11.3+ supports Commodity code (HS code), Country of origin and Customs description for products and variations. Check the installed version and column mapping first; an older importer lacking these fields is a version issue, not spreadsheet damage. (Customs CSV documentation, read 23 November 2026.)
Keep as text: set the commodity-code column to Text before loading or editing values. WooCommerce accepts 6–14 digits, strips spaces/punctuation and retains leading zeros. Save as UTF-8 CSV, then inspect the actual file in a text editor. A number format showing zeros is not proof they survived saving. (Customs field documentation, read 23 November 2026.)
Fictional comparison: before editing: commodity code 0901210010; damaged saved CSV: 901210010; preserved saved CSV: 0901210010. Restore from the original; changing the damaged cell to Text cannot recover a missing digit.
Blank or omitted: during updates, a blank cell in a mapped customs column clears the stored value. Omit that column, or select Do not import, to preserve it for every row. Clearing a variation override restores parent inheritance; a blank variation export may therefore represent inheritance. Use a two-letter origin such as BR and a plain-text customs description of at most 35 characters. Test a few rows on staging and check the log and product details. (Customs CSV documentation, read 23 November 2026.)
Product status
Link to sectionPublished values: for simple products, 1 = published, 0 = private, -1 = draft, 2 = pending review. true means published; false means draft, not private. Do not treat this column as a generic yes/no flag. (Official schema; WooCommerce 11.3.1 importer, read 23 November 2026.)
Catalog visibility: Visibility in catalog is separate from publication status. visible means shop and search; catalog means shop only; search means search only; hidden hides catalog/search listings. Setting visible does not publish a draft or private product. (Schema; visibility options.)
Fictional comparison: these are illustrative simple products, not an import file or observed shop results.
- DEMO-DRAFT: Published=-1, Visibility in catalog=visible → draft, awaiting publication.
- DEMO-PRIVATE: Published=0, Visibility in catalog=visible → private, not a public listing.
- DEMO-PUBLIC: Published=1, Visibility in catalog=hidden → published, hidden from shop/search listings; hidden is not private.
Pre-import review: in a working copy, record each SKU’s intended status and catalog visibility separately. Compare the saved CSV values and both column mappings before selecting Run the importer. Stop on unintended publication; do not replace every status with 1. After a small staging test, compare product status and logged-out shop/search/direct-page access with your checklist before the full import.
Before editing: back up and test small
Link to sectionWooCommerce's own advice: “Before importing a large catalog, create a backup and test a small import on a staging site.” (WooCommerce docs: large catalogs, read 20 November 2026.) The importer has no dry-run mode, so a small test file is the closest thing to one.
When the run ends, the Done screen counts imported, updated, skipped and failed products and offers a “View import log” link. (WooCommerce 11.3.1 source, html-csv-import-done.php line 58) Copy each skipped row's message before you edit anything. The sections below quote the messages exactly as the English admin shows them; a translated admin shows a translation of the same text.
Our recommended working method: keep the original export untouched, repair a copy, and write the error text beside each planned change in a separate checklist. This is the same method as our Shopify CSV import errors guide.
1. “The file is empty or using a different encoding than UTF-8”
Link to sectionMessage: “The file is empty or using a different encoding than UTF-8, please try again with a new file.” (WooCommerce 11.3.1 source, class-wc-product-csv-importer-controller.php line 677) The importer shows it when it cannot read a first data row from the file.
Fix: save the file again as “CSV UTF-8”. WooCommerce says: “Whichever editor you use, save or export the file as a UTF-8 CSV.” and “Spreadsheet applications can change formatting or character encoding, so review the saved CSV before importing it.” (WooCommerce docs: create your CSV, read 20 November 2026.) Also check that the file has a data row under the header row.
If you cannot re-save the file, open Show advanced options on the upload screen. The “Character encoding of the file” field lets you pick the file's real encoding, for example Windows-1252, instead of Autodetect. (WooCommerce 11.3.1 source, html-product-csv-import-form.php line 82)
2. “Invalid file type” or “Sorry, this file type is not permitted”
Link to sectionMessage: “Invalid file type. The importer supports CSV and TXT file formats.” (WooCommerce 11.3.1 source, controller line 146) The importer accepts only .csv and .txt files. A file saved as .xlsx or .numbers fails here.
WordPress can also stop the upload first with “Sorry, this file type is not permitted for security reasons.” WooCommerce says this can happen when a CSV contains HTML. Its fix: upload the file by SFTP or your host's file manager, then enter the server path under Show advanced options. (WooCommerce docs: upload errors, read 20 November 2026.)
3. Columns shift or merge: delimiter and quotes
Link to sectionSymptom: the column mapping screen shows one column that holds the whole row, or values land in the wrong field. There is no single message for this. The importer splits fields on a comma by default; the CSV Delimiter field under Show advanced options changes that. (WooCommerce 11.3.1 source, html-product-csv-import-form.php line 74) A file saved by a German Excel often uses semicolons: enter ; there, or re-save the file with commas.
WooCommerce's rule for commas inside a value: “Enclose a value in double quotation marks if it contains a comma.” (WooCommerce docs: general guidelines, read 20 November 2026.) The importer reads standard CSV quoting and switches off the backslash escape character. (WooCommerce 11.3.1 source, class-wc-product-csv-importer.php lines 99–101)
List fields (categories, tags, images, attribute values) are split on commas a second time after the CSV is read. To keep a comma inside one list value, write a backslash before it, as in Places\, People\, Cities. (WooCommerce docs: comma handling, read 20 November 2026; source, abstract-wc-product-importer.php line 914)
Category names and hierarchy
Link to sectionFictional example: this saved CSV fragment illustrates category syntax, not a complete product file or a tested store import. Keep the original export and edit a copy.
Four separate rules: outer double quotes keep Categories in one CSV field. Inside that field, an unescaped comma separates category terms; a backslash before a literal comma (\,) keeps it in the name. The > character separates parent and child. Quotes alone do not preserve commas in category names. (Comma handling; current schema, read 23 November 2026.)
| Line | CSV text |
|---|---|
| Header | SKU,Categories |
| Product | DEMO-CAT,"Home > Kitchen, Places\, People\, Cities" |
Intended tree: Home is a root category with Kitchen as its child. Places, People, Cities is one separate root category, including both commas. The product belongs to Kitchen and Places, People, Cities; the backslashes are syntax, not part of the stored name.
Check manually: save as UTF-8 CSV, reopen the saved file in a text editor and compare the fragment. Map Categories, then test a few rows on staging. Inspect the product’s assigned categories and the parent/child tree before importing the rest. Do not replace category separators globally to fix a column delimiter problem.
4. SKU and ID matches: “A product with this SKU already exists”
Link to sectionMessages: “A product with this SKU already exists.” (source line 1456) and “A product with this ID already exists.” (source line 1468) The row is skipped because a product with that SKU or ID is already in the store and Update existing products was not ticked.
Fix: decide first whether the row is meant to update a product or create a new one. To update, tick Update existing products. Its label says: “Existing products that match by ID or SKU will be updated, and new variations of existing variable products will be created. Other products that do not exist will be skipped.” (source, html-product-csv-import-form.php line 60) To create a new product, give it a new, unique SKU and leave the ID cell empty.
Message with the box ticked: “No matching product exists to update.” (source line 1508) The row's ID or SKU matches nothing in this store. A common cause is an ID copied from another store's export: IDs belong to one database. Clear the ID column and match on SKU instead, or run the import without the box to create the product.
Repair linked products
Link to sectionFields: Grouped products, Upsells and Cross-sells accept comma-separated product IDs or SKUs. Prefix each ID with id:; leave SKUs unprefixed. These relationships are separate from variation Parent. (Import schema, read 23 November 2026.)
Fictional example: Source-store id:410 identifies a mug, but destination ID 410 belongs to a lamp. In a working copy, replace that reference with destination SKU DEMO-MUG after checking it identifies the intended mug. Do not assume source IDs survive a move or that references are automatically remapped.
Comma quoting: To link two destination SKUs, save the entire cell as "DEMO-MUG, DEMO-PLATE" in a comma-delimited CSV. The outer straight double quotes keep one CSV cell; the inner comma separates references. Check the saved file in a text editor. (CSV rules, read 23 November 2026.)
Before rehearsal: Verify every referenced SKU or prefixed ID exists in the destination and identifies the intended product. Create missing products first, then repair all three columns manually. Back up and rehearse a few relationship rows on staging; review column mapping and the import log, then inspect grouped items, upsells and cross-sells in product settings and the storefront before the full import. Clean Import remains coming soon; this is a manual workflow.
5. Variations and attributes are refused
Link to sectionMessage: “Variation cannot be imported: Missing parent ID or parent does not exist yet.” (source, abstract-wc-product-importer.php line 567) The variation row's Parent cell is empty or points to nothing. WooCommerce says: “In each variation row, set the Parent value to the parent product SKU or its ID formatted as id:123.” (WooCommerce docs: simple to variable, read 20 November 2026.) Put the parent row above its variations in the same file.
With Update existing products ticked, a new variation of an existing product needs all of these, and each refusal has its own message: no ID in the row (“A new variation cannot be created for a row that specifies an ID.”), a SKU or GTIN (“A new variation cannot be created without a SKU or a GTIN, UPC, EAN, or ISBN.”), a parent (“A new variation cannot be created without a parent product.”) and a variable parent (“A new variation can only be created for a variable parent product.”). (source lines 1269–1304)
Attribute messages: “A new variation cannot be created because the parent product has no "[attribute]" attribute.” (source line 1351) and “A new variation cannot be created because "[value]" is not an option of the parent product's "[attribute]" attribute.” (source line 1384) Square brackets mark where WooCommerce inserts the names from your row. The Attribute 1 name and value in the variation row must match the parent's attribute and one of its options exactly. Fix the spelling in the variation row, or add the option to the parent first. Set Attribute 1 global to 1 for an attribute set up under Products → Attributes and 0 for a product-only attribute. (WooCommerce docs, read 20 November 2026.)
6. Images by URL fail
Link to sectionMessages: “Error getting remote image [URL].” (source, wc-rest-functions.php line 99), “Invalid image: [reason]” (line 120), “Not able to attach "[URL]".” (abstract-wc-product-importer.php line 742) and “Unable to use image "[URL]".” (line 751). Square brackets mark where WooCommerce inserts the image URL, file name or reason; the rest is the exact text.
The importer downloads each URL into the Media Library; a file name without a URL must already be in the Media Library. (source lines 683–731) WooCommerce warns: “Some hosts block requests from your store, require authorization, or return a page instead of an image.” Its fix: “If an image fails to import, upload it to your Media Library or ask the host for a direct image URL.” (WooCommerce docs: images, read 20 November 2026.)
Check: open the URL in a private browser window. It must show the image itself, not a login page or a viewer page. Several images go in one cell separated by commas; the first one becomes the featured image. (source line 647) (WooCommerce docs: import schema, read 20 November 2026.)
Review the result before the full import
Link to sectionOur suggested acceptance check: run the repaired file on a staging copy or with a few rows first, read the import log, then compare each changed product with your checklist (name, SKU, variations, stock, images). WooCommerce also says: “Do not refresh or navigate away from the page while the import is in progress.” (WooCommerce docs: adding new products, read 20 November 2026.)
The messages on this page were copied from the WooCommerce 11.3.1 source code on GitHub on 20 November 2026. We did not run an import in a WooCommerce store for this guide. Moving the other way? See our Shopify CSV import errors guide.
Sources
- WooCommerce docs: Product CSV Importer and Exporter (read 20 November 2026)
- WooCommerce 11.3.1 source: class-wc-product-csv-importer.php (read 20 November 2026)
- WooCommerce 11.3.1 source: abstract-wc-product-importer.php (read 20 November 2026)
- WooCommerce 11.3.1 source: class-wc-product-csv-importer-controller.php (read 20 November 2026)
- WooCommerce 11.3.1 source: html-product-csv-import-form.php (read 20 November 2026)
- WooCommerce 11.3.1 source: wc-rest-functions.php (read 20 November 2026)
Source lines are from the 11.3.1 release tag of woocommerce/woocommerce on GitHub, fetched 20 November 2026. We did not run an import in a WooCommerce store.