Which cause is yours?
| What you observe | Likely cause |
|---|---|
| Each variant became a separate product, or rows were skipped with “Ignored line … because it did not contain product data” | 1. The rows of a product do not share one URL handle |
| A product has one Default Title variant instead of several, or its existing variants were replaced | 2. Option columns missing or empty |
| “Validation failed: options are not unique” | 3. Two rows with the same option values |
| Variants or images ended up on the wrong product after you edited the file in a spreadsheet | 4. The rows of a product were sorted apart |
| “Line is invalid (No details)” after you changed the order of options | 5. An option moved to another position |
| Variants were imported but cannot be bought | No stock at your location |
| Variants disappeared after an update with Overwrite | Duplicates and overwritten data |
1. The rows of a product must share one URL handle
The URL handle is the unique identifier of a product. For a product with variants, Shopify Help describes the rows like this:
- First row: every product field (
Title,Description,Vendor,Tags…) together with the first variant and the first image URL. - Each following row: the same URL handle, empty
Title,Description,VendorandTags, and the details of one more variant.
| Record | URL handle | Title | Option1 name | Option1 value | SKU | Price |
|---|---|---|---|---|---|---|
| 1 | organic-tee | Organic cotton T-shirt | Size | S | TEE-S | 24.90 |
| 2 | organic-tee | (empty) | (empty) | M | TEE-M | 24.90 |
| 3 | organic-tee | (empty) | (empty) | L | TEE-L | 24.90 |
Record numbers exclude the header. (empty) marks an empty cell.
A row with another handle starts another product. “Ignored line … because it did not contain product data” means that a product has a handle but no title (Shopify Help): put the Title in the first row of each product. In Shopify's own export the column is called Handle; for new products with variants the column is required.
Fix:
- If the variants were already imported as separate products, delete those products first with the bulk actions on the Products page: a CSV can't delete products (Shopify Help).
- In the file, give every row of the product the same URL handle.
- On the first row, put the option name in
Option1 name, for exampleSize; on every row, put the variant's value inOption1 value. - Keep the title only on the first row, check the file and import it again.
2. Option names and values
Variants are made of options such as size or color. A product can have up to three: Option1 name with Option1 value, then Option2 and Option3 (Shopify Help).
- Name: the name of the option, for example
Size. In our test store, Shopify's export wrote the option names only in the first row of each product. - Value: the value of each variant, for example
S, on every row of the product. - A product without options was exported with
Titleas the option name andDefault Titleas the value; the inventory CSV page of Shopify Help gives the same pair.
Missing option columns delete variants. If a file has no Option1 name and Option1 value columns, Shopify creates a new default variant and deletes the existing ones. Variant columns such as SKU also need the option columns when you update products. Changing an option value deletes the variant's ID (the number apps use to find the variant) and creates a new one, which can break apps that rely on variant IDs.
3. “Validation failed: options are not unique”
Two variants of one product have the same option values, for example two rows with size M. If every variant's values differ, another product further down the file probably uses the same URL handle (Shopify Help).
| Record | URL handle | Title | Option1 name | Option1 value | SKU | Price |
|---|---|---|---|---|---|---|
| 1 | organic-tee | Organic cotton T-shirt | Size | S | TEE-S | 24.90 |
| 2 | organic-tee | (empty) | (empty) | M | TEE-M | 24.90 |
| 3 | organic-tee | (empty) | (empty) | M | TEE-L | 24.90 |
Record numbers exclude the header. (empty) marks an empty cell.
Fix: give each variant its own combination (correct the value or add a second option such as color), or remove the duplicate row. Then search the file for the handle to make sure no other product uses it.
4. The rows of a product were sorted apart
Sorting a product CSV in a spreadsheet program can separate variants and image URLs from their product. Importing a sorted file can overwrite products with bad data that can't be recovered (Shopify Help).
Fix: keep all rows of a handle together, with the row that carries the title first. If the file was sorted, go back to your export or an unsorted copy instead of repairing the order by hand.
5. “Line is invalid (No details)”: an option moved to another position
Shopify refuses lines that move an existing option to another position, for example Size from Option1 to Option2 with a new Option1 (Shopify Help). Shopify Help gives this way around it:
- In your file, give the moved option a temporary name, for example
Size.(with a dot at the end). - Import the file.
- In a new file, change the temporary name to the final one, and import that file.
6. Variant and option limits
- A product can have up to 2,048 variants and up to 3 options. For more, Shopify Help points to apps or to line item properties: extra fields on the product page, such as a text box for a monogram, whose choice is saved with the order.
- A store with 500,000 or more variants can create at most 10,000 new variants by CSV within 24 hours, except on Shopify Plus: “Daily variant creation limit reached, try again” (Shopify Help).
CatalogDock reports a fourth option column. It does not count variants against the 2,048 limit.
Variants that were imported but cannot be bought
The Inventory quantity column of a product CSV applies only to a store with a single location; with several locations, stock is imported with the inventory CSV (Shopify Help). In our test import into a store with two locations, the quantity in a product CSV set no stock: every new variant had 0 on hand. When stock is tracked, the default inventory policy deny means that a variant can't be bought once its stock reaches 0. See inventory CSV not updating stock.
What the free Shopify check reports
CatalogDock's Shopify Check reads your file in your browser and lists these problems with their record and column. It never changes the file.
Reported for you to decide
- Rows without a handle, products without a title, an option value without a name and a variant without a value.
- Repeated option combinations, rows of one product that are not next to each other, variant columns without option columns, a fourth option.
Needs data from your store
The variants already in your store and the 2,048-variant limit. To change existing variants, compare your file with a fresh export first.
Still failing? Related guides
Import a file with only the product that fails, so you know which rows cause the error. If the guides do not explain it, send Shopify Support the exact text of the error: Shopify Help points there for problems it does not list.
- Shopify import troubleshootingFind the cause of a failed Shopify CSV import and how to fix it.
- Duplicates or overwritten dataURL handles, the Overwrite option, blank cells and deleted variants.
- Product images did not importPublic image links, one row per image, variant images and size limits.
- Stock did not changeLocations, On hand (current) and (new), and which file sets stock.
Check your Shopify CSV before importing
CatalogDock checks the handles, options and row order of your Shopify CSV in your browser and names each problem with its record, free. To build products with variants from a supplier price list, use Prepare: you choose how rows form products, and it writes the handles and option columns.
Runs in your browser · No files uploaded · Never connects to your store
Sources
Shopify Help, read on :
- Using CSV files to import and export products
- Troubleshooting product CSV imports
- Importing products with a CSV file
- Exporting products
- Adding variants
- Exporting and importing inventory with a CSV file
Where this page says in our test import, the result comes from small files imported into our Shopify development store in October 2026 and read back from its exports. One store and a few products: your store can behave differently.
Applies to Shopify's own CSV import: Products → Import for products and Products → Inventory → Import for stock. Shopify can change its import at any time; the sources above are dated. CatalogDock's Shopify support is in beta.