Shopify Community AMA with Shopify Developers: The New GraphQL Product APIs

My system imports all product data to generate feeds and also encounters the HTTP 500 Internal Server Error when the REST API page size is too high. Shopify API may be running out of memory or hitting an internal timeout. Setting the page size lower resolves the issue. At a minimum, the API should return a more accurate error code so that our system can handle the exception correctly. The Shopify API should never return HTTP 500 errors for commonplace error conditions.