“Inventory quantity is not a number” (and “can’t be blank”): fixing stock in a Shopify CSV
The inventory quantity column contains text, decimals or symbols, or is empty for a variant whose inventory is tracked. Use whole numbers, or leave tracking off if you don’t know stock levels yet.
Inventory quantity is not a numberWhat the messages mean
| Message | Cause | Fix |
|---|---|---|
Inventory quantity is not a number | A non-numeric value such as in stock, 10+, 5.5 or N/A. | Enter a whole number. |
Inventory quantity can't be blank | Inventory is tracked (Inventory tracker = shopify) but the quantity is empty. | Enter a number, or leave Inventory tracker blank. |
Common causes
- Supplier availability text like “In stock”, “On request” or “Low” copied into the quantity column.
- Numbers stored with formatting, such as
1,200or trailing spaces. - Tracking turned on without data: the template has
shopifyin Inventory tracker but you don’t know stock levels yet.
How to fix it
- Replace text with whole numbers. Use
0where you have no stock. - Remove thousands separators and decimals.
- If you don’t track inventory for these products yet, leave
Inventory trackerempty and remove the quantity values. - Note that the quantity column in a product CSV sets stock for one location. For several locations, use Shopify’s separate inventory CSV.
- Save as CSV UTF-8 and import again.
Supplier stock is a moving target
Supplier price lists rarely carry reliable stock numbers, so many stores import new products without inventory and set stock once goods arrive. Sheet2Store’s Shopify export follows that approach: it doesn’t write inventory columns, so this error can’t come from its files. How to add supplier products to Shopify.
Frequently asked questions
Can inventory be negative in the CSV?
Stick to zero or positive whole numbers when importing new products. Negative stock usually comes from sales of products that allow overselling.
Does the product CSV support multiple locations?
The inventory quantity column in the product CSV applies to a single location. Use Shopify’s inventory CSV for per-location stock.
What should Inventory tracker contain?
shopify to let Shopify track stock, or leave it blank for no tracking.
Turn a supplier file into an import-ready CSV
Upload a supplier PDF, Excel or CSV price list. Map the columns, set your markup, fix flagged rows and download a Shopify or WooCommerce CSV. The first five rows are free to preview.