Skip to content
Inboxwise Tools

How to fix “Validation failed: You need to add option values for …” in Shopify

Shopify found an option name — Size, Color, Material — on a product, but at least one of that product’s variant rows has no value for it. Here are the four ways that happens and how to spot the bad rows quickly.

Published · By the Inboxwise Tools team

The message looks like this, with your option’s name at the end:

  • Line 2-7: Validation failed: You need to add option values for Size

The rule behind it: once a product has an option name, every variant row of that product needs a value for it — including the first row, which is a variant too. The option name itself only has to be on the first row.

Cause 1: the first row has the name but no value

People often treat the first row as a “header” for the product and start the sizes on row two.

URL handle,Title,Option1 name,Option1 value,Price
tee,Basic Tee,Size,,18
tee,,,S,18
tee,,,M,18

Fix: the first row is the first size. Move S up and drop the extra row.

URL handle,Title,Option1 name,Option1 value,Price
tee,Basic Tee,Size,S,18
tee,,,M,18

Cause 2: variant rows without the handle

If the handle is blank on later rows, Shopify can’t attach them to the product. An answer in the Shopify Community thread linked below makes the same point: each variant row needs the product’s handle. Fill the handle down the whole product.

Cause 3: two options, one value missing

With Size and Color, every variant needs both values. A row like tee,,,M,, (Size M, no Color) triggers the error for Color.

Cause 4: option values on a product meant to have no options

The reverse case shows up when each row has a different handle but option columns are filled — for example a supplier file with Size on every line. Each row becomes its own product, and a reply in the Shopify Community explains that the option columns then cause errors. Decide which you want: one product per row (clear the option columns) or one product with variants (give the rows the same handle).

Using older column names?

Older Shopify files use Handle, Option1 Name, Option1 Value and Variant Price. The rules are the same; only the header text differs. Don’t mix both naming styles in one file.

Find the rows automatically

The free Shopify CSV Error Fixer reports each variant row missing a value for a named option, rows without a handle, and option values that have no option name — with line numbers, before you import. It runs entirely in your browser.

Related errors

Sources

Last reviewed: November 14, 2026. Not affiliated with Shopify.