Shopify "Ignored line" Handle Errors: How to Fix
Shopify's product importer skips a line, and tells you so, with one of these messages:
- Ignored line #-## because handle example already exists
- Ignored line #-## because it did not contain product data
The first is about the URL handle, the column that tells Shopify which product a row belongs to. The second means a product's rows have a handle but no title.
What is a handle in a Shopify CSV?
Shopify's CSV help calls the URL handle "the unique identifier for each product." It can contain letters, numbers and dashes, but no spaces.
A product can take up several rows. Its first row holds the product's details, such as the title, description and first image. Each row after it, for another variant or another image, repeats the same handle and leaves the Title and other product columns blank:
| URL handle | Title | Option1 name | Option1 value | Variant SKU |
|---|---|---|---|---|
| linen-shirt | Linen Shirt | Size | S | LS-S |
| linen-shirt | Size | M | LS-M | |
| linen-shirt | Size | L | LS-L |
So one handle on several rows is normal. The errors come from a handle that two products use, or a product with no title.
Why does Shopify say "Ignored line because handle already exists"?
Shopify's common import issues page says the handle uniquely identifies each product, and asks you to make sure each product in your CSV has its own. The line in the message uses a handle that's already taken.
Shopify's CSV help covers one more case: a handle that matches a product already in your store. When you import, you can select Overwrite products with matching handles. With it selected, the file's values replace those of the existing product. Without it, Shopify's help says products that match an existing handle are ignored.
How do I fix "handle already exists" in my CSV?
- Find the handle. The message names it. Search your file for it, or sort the file by the handle column so its rows sit together.
- Check whether those rows are one product. Variant and image rows of the same product should share the handle. Two different products should not: give one of them a new handle, made of letters, numbers and dashes, and a title of its own.
- Check your store. If a product with that handle is already there, decide what you want. To update it from the file, import again with Overwrite products with matching handles selected. To add a separate new product, change the handle in your file.
- Import again. If Shopify names another handle, repeat these steps for it.
Why does Shopify say "Ignored line because it did not contain product data"?
Shopify's help says there's at least one product with a handle but no product title. Shopify's CSV help says Title is the only column a file of new products must have, and puts it, with the product's other details, on the product's first row.
How do I fix "did not contain product data"?
- Find the handle of the lines in the message. Go to the line numbers in the error and note the handle in each.
- Look at the first row with that handle. Shopify's CSV help puts the title and the product's details on that row.
- Add the title. Type the product's name in the Title column of that first row. If a variant row holds it instead, move it up.
- Import again.
How does Csvio handle handles and missing titles?
Csvio is a Shopify app that imports supplier files into your store. It groups rows into products the way Shopify does, but it checks the products against your store before anything is written.
- Rows are grouped by the handle when you map one. Rows that share a handle become one product with variants. Without a handle column, Csvio groups by the product title, or the SKU when there is no title, and makes the handle from it. See importing products with variants.
- The title can be on any of the product's rows. Csvio takes it from whichever row has it, so it doesn't have to be the first.
- Products without a title are counted before you import. If some products have no title on any of their rows, the mapping screen says how many. Products already in your store keep their current name. New ones are skipped, the results screen says they need a title, and the rest of the file imports.
- Products already in your store are skipped and listed. In Create mode, Csvio looks up each product by its SKUs, or by its handle when the SKUs don't match anything. A product it finds is left as it is and listed on the results screen as Already in your store. To change those products from the file, use Bulk edit, which can match by handle. See why rows are skipped.
Two different products with the same handle still become one product in Csvio. If their sizes or colours overlap, the mapping screen lists the repeated option combination before the import, so you can fix the handle first.
Can I try Csvio on the file Shopify rejected?
Csvio's free plan imports 30 products a month across up to 3 imports. Upload the file as it is, check the mapping screen for products with no title or a shared handle, and nothing reaches your store until you confirm.