We're expanding our Product Integration to handle Medias attached to variants. The following scenario fails with this user error: ""Non-ready media cannot be attached to variants"
1. Create Product (succeed)
2. Upload Media (succeed)
3. Attach Media to Product (succeed)
4. Attach Product Media to Variant (fails)
I suppose the error message makes sense, however this quite troublesome, since we cannot know for sure, when the media is ready in Shopify (without heavy cost to the bucket size). Is there a reason to why the mutation cannot accept the product variant to media attachment even though the media is not yet fully ready yet in Shopify's system? Anyone else found a neat workaround for this?
There are examples of how to create products with media as well as variants with media in a single mutation in the documentation, but if you are still seeing issues with media listed as READY, can you post full examples of the steps you are taking so we can take a closer look?