I'm getting 502 Bad Gateway error when trying to create a product with 30+ variants using GraphQL. This is not the case if I create a product with fewer variants.
Looking in other cases it looks like it is a common problem, but I didn't found any way to solve this.
By any chance would you have the request_id from that failing request? I can take a look into it for you. Thanks!
After a while doing some test and researching, we finally had to adjust or code to:
1. First, create the product with his variants using productCreate mutation.
2. Then, upload all media files (images) to the product and assign images to each variant.
After that, we have not experienced 502 Bad Gateway errors anymore.
It looks like Shopify have troubles handling mutations with too many variants/images.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022