Price Must Be Numeric Error

When importing orders you may have gotten the following errors:

  1. Shopify Data Request Error: {'price': 'expected String to be a float'}
  2. Validation Error: Line item price must be numeric.
  3. Validation Error: Shipping Lines price must be numeric.

This error comes up if the price field is not an integer or decimal value. Shopify does not allow non-numeric values to be sent to pricing or amount fields. This usually means the price or amount field is incorrectly formatted or has characters in it. We've seen customers try and import prices with commas in them, if this is the case you'll need to convert the field to decimal or remove any commas.

This error may be a little confusing because there are multiple fields called price. If you get this error you should check the csv column mapped to the line_item.price field as well as the shipping_lines.price field. To fix this you'll need to add a value to the field. If there is no price you can set the field to 0.


App: EZ Importer

Tags: line items, price, ez importer error