AmazonInventoryImport blocker
Invalid quantity
The quantity value must be a non-negative integer.
What is this issue?
The quantity value must be a non-negative integer.
Affected field:
QuantityImport blocker: your file will fail to import until this is resolved.
What it looks like in your file
| sku | quantity | |
|---|---|---|
| 2 | MUG-01 | 2.5 |
| 3 | TOTE-01 | -1 |
| sku | quantity | |
|---|---|---|
| 2 | MUG-01 | 2 |
| 3 | TOTE-01 | 0 |
Upload your CSV to check for this issue and export a clean file.
Fix nowWhy Amazon rejects this
Amazon rejects rows where quantity is not a valid number. Negative quantities are not accepted.
Common causes
- 1Quantity was filled for an offer fulfilled by Amazon (FBA), where Amazon counts stock itself, as text like "FBA".
- 2A stock count went negative after overselling and was copied as -2.
- 3The value came from an inventory sheet with decimals, such as cases of 0.5.
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
Fix in StriveFormats
Upload your CSV to StriveFormats to detect this issue across all rows, with clear line-by-line reporting.
Fix in Excel
- 1In Excel, click the column letter for the Quantity 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 Text (Tab delimited) (*.txt).
Fix in Google Sheets
- 1In Google Sheets, click the column letter for the Quantity 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 that don't show 0 have decimals, so round those by hand.
- 4Delete the helper column when done.
- 5Go to File > Download > Tab Separated Values (.tsv), then rename the file to end in .txt.
Prevent it next time
- ✓Export quantity data from your inventory system as whole numbers.
- ✓Use 0 for out-of-stock items instead of leaving the quantity blank.
- ✓Never copy-paste quantity data from a financial system that uses decimal places.
How StriveFormats detects this
StriveFormats validates the Quantity 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
Amazon's importer expects inventory quantities as whole numbers. Decimal values like 10.5 are rejected or quietly cut off, depending on the platform version. Negative values are also rejected, so use 0 for out-of-stock items. This often happens when quantities are copied from accounting software that stores stock levels as decimals.