Shopify product CSV import errors
Find the message Shopify showed you, see what causes it, and fix it. Or check your whole file at once with CSV Doctor.
Invalid CSV header: missing headersShopify reads the first line of your file as the list of column names. This message means it couldn’t find the columns it expects, usually because a header is misspelled, has the wrong capitalization, has an extra space, or the file isn’t separated by commas.
Illegal quoting on lineQuote marks in a CSV have a special job: they wrap a cell that contains commas or line breaks. This error means a quote mark is in a place the CSV rules don’t allow, or the file contains characters that aren’t UTF-8. Shopify notes that your CSV file must be UTF-8 encoded.
Missing or stray quote on lineA quoted cell in your file either never closes or has extra text after its closing quote, so the rest of the line can’t be split into columns. Shopify points to two usual suspects: curly quotes added by a spreadsheet, and an extra quote that slipped into the file.
Validation failed: options are not uniqueEvery variant of a product needs its own combination of option values. This message means two rows for the same product have identical values, for example two "Medium / Black" shirts. Shopify also notes it can happen when two different products accidentally share a handle.
Validation failed: price can’t be blankEach variant row needs a price. The fix is to add a price to the line in the error, entered as a plain number like 19.99.
Inventory policy is not included in the listThe inventory policy column (Continue selling when out of stock, or Variant Inventory Policy in older files) only accepts two values: deny or continue. Anything else, including TRUE, FALSE, yes, or no, triggers this message.
Fulfillment service can’t be blankEvery variant needs a fulfillment service. If you pack and ship orders yourself, Shopify says this should be set to manual.
Inventory quantity can’t be blankWhen a variant’s inventory is tracked by Shopify, it needs a quantity, and that quantity has to be a whole number. If you don’t track inventory, Shopify says to leave the inventory tracker column blank instead.
Ignored line #-## because handle `example` already existsThe URL handle is how Shopify tells products apart. When the same handle is used for two different products, the later rows are ignored. Shopify’s advice: make sure each product in your CSV has a unique handle.
Ignored line #-## because it did not contain product dataShopify says this means there’s at least one product with a handle but no product title. The first row for each handle must hold the product’s details, including its Title.
Validation failed: getaddrinfo: nodename nor servname provided, or not knownThis message comes from an image URL Shopify can’t reach. Shopify says the image URL needs http:// (or https://) in front of it, and must be a publicly accessible, direct link to the image.
Not a valid product categoryThe Product category column has to match Shopify’s Standard Product Taxonomy exactly, either as the full category breadcrumb or as the category ID. Shopify uses it to work out tax in the United States.
Not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc. Error messages are quoted from Shopify's Help Center.