With the latest API release, certain pagination calls are not working. See https://help.shopify.com/en/api/guides/paginated-rest-results