Articles on: Frequently Asked Questions (FAQ)

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


  1. Check the type in Shopify: Open the metafield definition in Shopify and note its type, such as URL, Single line text or Decimal.
  2. Match the type in Stock Sync: Select the same metafield type in Stock Sync so it matches the Shopify definition.
  3. Run the feed again: Once the types match, run the feed again.



Key Rules & Technical Details


Each metafield can only hold one data type, as defined in its Shopify metafield definition.



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


Updated on: 18/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!