ShopifyInventoryImport blockerAuto-fixable
Invalid weight unit
Weight unit for display is not g, kg, lb, or oz.
What is this issue?
Weight unit for display is not g, kg, lb, or oz.
Affected field:
Invalid weight unitImport blocker: your file will fail to import until this is resolved.
This issue is fixed automatically — upload your CSV to fix it now.
Fix nowWhy Shopify rejects this
Shopify only accepts g, kg, lb, or oz as the display unit.
Valid values / expected format
- ✓Whole number (integer), 0 or greater
- ✓No decimal places -- write 10 not 10.5
- ✓No negative values -- use 0 for out-of-stock items
Examples
| Bad value | Good value | Note |
|---|---|---|
10.5 | 10 | Whole numbers only |
-1 | 0 | No negative values |
ten | 10 | Must be numeric |
(empty) | 0 | Cannot be blank |
Fix in StriveFormats
This issue is auto-fixable. Upload your CSV and click Fix Issues to apply all safe corrections at once.
Auto-fixable: this issue is corrected automatically when you click Fix Issues.
Fix in Excel
- 1In Excel, click the column letter for the Invalid weight unit column.
- 2Right-click and choose 'Format Cells'. Select 'Number', set Decimal places to 0, click OK.
- 3Use Data > Filter on this column. Filter where value is less than 0 and change those cells to 0.
- 4Also filter for non-numeric values (text cells) and enter the correct whole number.
- 5Save as CSV (Comma delimited).
Fix in Google Sheets
- 1In Google Sheets, click the column letter for the Invalid weight unit column.
- 2Go to Format > Number > Number and set decimal places to 0 (integers only).
- 3In a blank helper column, enter =MOD(A2,1) (replace A2 with your column) and copy it down. Rows showing non-zero have decimal values -- round them manually.
- 4Delete the helper column when done.
- 5Go to File > Download > Comma Separated Values (.csv).
Prevent it next time
- ✓Export quantity data from your inventory system as whole numbers.
- ✓Use 0 for out-of-stock items -- do not leave the quantity blank.
- ✓Never copy-paste quantity data from a financial system that uses decimal places.
How StriveFormats detects this
StriveFormats validates the Invalid weight unit column by verifying that each cell is a non-negative whole number. Decimal values, negative numbers, text strings, and blank cells are all flagged.
►Technical detail
Shopify's importer expects inventory quantities as whole numbers (integers). Decimal values like 10.5 are rejected or silently truncated depending on the platform version. Negative values are also rejected -- use 0 for out-of-stock items. A common source of this issue is copying quantity data from accounting software that stores stock levels as decimals for partial unit tracking.