Which cause is yours?
| What you observe | Likely cause |
|---|---|
| Some quantities did not change, and Shopify emailed you about rows that failed validation | 1. Stock changed after your export |
| Nothing changed at one location | 2. The location name does not match |
| A quantity in the file has decimals or words | 3. Not a whole number |
| The quantity column of a product CSV set no stock | 4. Your store has several locations |
| Available is lower than the number you entered | 5. You set On hand, not Available |
| None of the rows of one variant were imported | 6. Packed dimensions differ between its rows |
The inventory CSV
Stock has its own export and import: Products → Inventory → Export, and Products → Inventory → Import (Shopify Help). The export comes in two forms:
- All states (recommended by Shopify): one row per variant and location, with
On hand (current)andOn hand (new). It protects against overwriting recent changes. - Available: one column per location with the available quantity. It is simpler but gives no such protection.
To find the variant, the file needs Handle, Location and Option1 Value. A product with more options also needs Option2 Value and Option3 Value. The option and SKU columns only identify the variant: the import does not change option values or SKUs. An inventory CSV can't exceed 15 MB.
| Record | Handle | Option1 Value | Location | On hand (current) | On hand (new) |
|---|---|---|---|---|---|
| 1 | organic-tee | S | Shop location | 10 | 12 |
| 2 | organic-tee | S | Warehouse | not stocked | 5 |
| 3 | organic-tee | M | Shop location | 4 | (empty) |
Record numbers exclude the header. (empty) marks an empty cell.
1. Stock changed after your export
When a file has both On hand (current) and On hand (new), Shopify compares On hand (current) with the stock in your store. If the stock changed after your export, for example because of a sale, the affected rows are not imported, and you get an email with the details (Shopify Help).
In our test import, the row with an outdated On hand (current) was skipped and the other rows of the same file were applied. Shopify's email named the row, the count in the store and the count in the file.
Fix: export the inventory again, enter the new counts in On hand (new) of the fresh file and import it soon after. Shopify Help allows skipping the check in emergencies by clearing the On hand (current) column, but that removes the protection against overwriting recent changes.
2. The location name does not match
The location name is case-sensitive and must match the name of your Shopify location exactly. Include a row for each location where you want to change stock, and remove the other location rows (Shopify Help). In our test import with two locations, the rows of each location were applied independently.
3. Whole numbers, empty cells and Not stocked
- Whole numbers only: positive, negative or 0, but no decimals such as 1.5 (Shopify Help).
- An empty On hand (new) leaves the quantity as it is. Fill it in for every row you want to change.
- Not stocked is the value for a product never stocked at that location. In our test store, the export wrote
not stockedin every quantity column of such a row. To start stocking it there, keep that value inOn hand (current)and enter the count inOn hand (new), as in Shopify Help's example of a new location.
| Record | Handle | Option1 Value | Location | On hand (current) | On hand (new) |
|---|---|---|---|---|---|
| 1 | organic-tee | S | Shop location | 10 | 12.5 |
Record numbers exclude the header.
4. The quantity column of a product CSV
Inventory quantity in a product CSV applies only to a store with a single location. With several locations, import stock with the inventory CSV (Shopify Help). In our test import into a store with two locations, the quantities in a product CSV set no stock at all: every new variant had 0 on hand. The same products got their stock from an inventory CSV.
5. You set On hand, not Available
The All states file changes the on-hand count. Available is what you can sell: units that are committed (for example in an unfulfilled order) or set aside as unavailable are not available (Shopify Help). So Available can be lower than the number you entered in On hand (new). The columns marked (not editable) can't be changed by an import.
6. Packed dimensions differ between the rows of a variant
The four Variant Packed columns belong to the variant, not to a location. Every row of a variant must repeat the same values, and blank cells on one row count as different from filled ones on another. Otherwise none of that variant's rows are imported; the rest of the file is not affected (Shopify Help).
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
- Quantities that are not whole numbers,
Not stockedinOn hand (new), and new counts withoutOn hand (current), which Shopify does not compare. - The same variant and location twice, one location written in different letter cases, a missing
HandleorOption1 Value, and packed dimensions that differ between the rows of a variant. - A file in the Available form, which has no protection against overwriting.
Needs data from your store
Whether your locations exist and what the stock is now: Shopify compares On hand (current) at import time.
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.
- Variants are missing or splitURL handles, option columns, repeated combinations and row order.
- Shopify rejects the fileEncoding, quotes, headers, required columns and the 15 MB limit.
Check your inventory CSV before importing
CatalogDock checks the rows, locations and quantities of your Shopify inventory CSV in your browser, free. To update stock from a supplier price list, Update builds an All states file from your fresh export, with On hand (current) kept, for the locations you choose.
Runs in your browser · No files uploaded · Never connects to your store
Sources
Shopify Help, read on :
- Exporting and importing inventory with a CSV file
- Using CSV files to import and export products
- Troubleshooting product CSV imports
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.