I keep getting the error: "Type 'single_line_text_field' must be consistent with the definition's type: 'URL' in the error remark column "
If Stock Sync shows the error "Type 'single_line_text_field' must be consistent with the definition's type: 'URL'", the metafield type set in Stock Sync does not match the type defined for that metafield in Shopify. The metafield type must match in both places for the sync to work. This guide explains how to fix it.

How to Resolve the "metafield type must be consistent" Error
- Check the type in Shopify: Open the metafield definition in Shopify and note its type, such as URL, Single line text or Decimal.
- Match the type in Stock Sync: Select the same metafield type in Stock Sync so it matches the Shopify definition.
- Run the feed again: Once the types match, run the feed again.
Key Rules & Technical Details
Troubleshooting Steps
- Issue: The error "must be consistent with the definition's type" appears in the Changes Log → Solution: Select the metafield type in Stock Sync that matches the type in Shopify, then run the feed again.
- Issue: The error "Value must be a single line text string" appears → Solution: Check that the value is a single line of text, with no line breaks, then run the feed again.

- Issue: The error "Value has a maximum length of 2" appears → Solution: Check the length limit for the metafield in Shopify, and shorten the value in your feed to fit it.

Good Articles to Continue
- How can I change the content type for metafields in Stock Sync? → Explains how to match a metafield's content type to the values in your feed.
- What types of data can a Shopify metafield support? → Explains why a metafield can only hold one data type.
- Can I map a metafield for updating stock? → Shows how to use a Shopify metafield as the product identifier for matching.
Updated on: 18/11/2026
Thank you!
