Data flows:
- NetSuite item to Shopify product (add or update)
- NetSuite matrix item to Shopify product (add or update)
Error code: 400
Error messages:
- integrator.io: On the integrator dashboard, you will see the error "compare_at_price":"expected String to be a money_fuzzy"
- NetSuite saved search result: On the Celigo Shopify Item Export or Celigo Shopify Matrix Item Export Saved search results, you will see the error "ERROR: Field Not Found" as a value for the compare at price field for all netsuite Accounts"
Reason: These errors occur when you select a price level for a product price and compare at price for which the discount % is zero in NetSuite.
Resolution: To resolve this error, add the following handlebar expression in the mapping for the compare_at_price field.
{{#compare variants[*].[Compare at Price (Variant)] "===" "ERROR: Field Not Found"}}{{variants[*].[Price (Variant)]}}{{else}}{{ variants[*].[Compare at Price (Variant)]}}{{/compare}}
To add this expression:
- Go to integrator.io and navigate to the Shopify - NetSuite integration app tile.
- Go to Flows > Product.
- Next to the NetSuite item to Shopify product (add or update) flow or NetSuite matrix item to Shopify product (add or update), click Edit Mappings to edit the field mappings.
- Click Post products to Shopify.
- In the Mappings rules page, look for the 'compare_at_price' field in the right column fields. Click Edit (Gear icon) to view the Settings page.
- In the Expression field, add the handlebar expression.
- Click Save & close.
- Now go to the integrator dashboard and view the error dialog.
- Click Retry to re-run the flow successfully.
Comments
Please sign in to leave a comment.