> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stock-sync.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# I keep getting the error: "Type 'single_line_text_field' must be consistent with the definition's type: 'URL' in the error remark column "

  
When configuring metafields in Stock Sync, it's important to ensure that the metafield type matches the corresponding type in Shopify. This alignment prevents errors and ensures smooth data synchronization.

### Example:

* If you use a URL such as https://big.com/sneakers/hello-3-main-dark-iris-cl8532-105 in a metafield, you must select the appropriate metafield type.

### Common Issue:

* Selecting an incorrect metafield type, such as "string" or "single-line text," will result in an error. This error will be recorded in the **Changes Log** file with a message similar to:

`Type 'single_line_text_field' must be consistent with the definition's type: 'URL' in the error remark column.
`
![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/image_155te84.png)
`Value must be a single line text string.
`

![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/screenshot-2024-05-24-at-25215_1dl5bfr.png)

`Value has a maximum length of 2.
`

![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/screenshot-2024-05-27-at-43857_rmvxud.png)


### Solution:

* To avoid such errors, always select the correct metafield type. Ensure it matches both Stock Sync and Shopify’s defined types.

* By following these guidelines, you can ensure consistent and error-free metafield integration between Stock Sync and Shopify.



