Error 5 When Downloading from Shopify

When downloading bulk items from Shopify (e.g. all Products or all Orders) you might receive the following error message:

Shopify have change the format of their response headers which are now all in lower case, which breaks the calculation formula we use for the $nextPageURL Set Variable script step and results in an invalid URL being calculated. The following scripts are affected:

  • Get All Customers
  • Get All Shipping Countries
  • Get All Orders
  • Get All Products
  • Get All Product Variants
  • Get All Price Rules
  • Get All CustomCollections
  • Get All SmartCollections
  • Get All CustomerSavedSearches
  • Get All Webhooks
  • Get Inventory Levels for All Locations from Shopify [SERVER]
  • Update Current Product from Shopify
  • Update Current Product from Shopify [SERVER]
  • Update Product Variant from Shopify
  • Get All Products for current Smart Collection from Shopify

The solution is a small change to the calculation used for the $nextPageURL Set Variable script step - the following highlighted line needs to be updated:

from:

t3 = "Link: <";

to:

t3 = "link: <";

The $nextPageURL Set Variable script step will then correctly calculate the next URL for the 2nd and subsequent page of results from Shopify.

fmEcommerce Link (Shopify Edition) v2.2.1 has been updated to include these changes.

Still need help? Contact Us Contact Us