Hi, I’m re-posting a question that was unanswered on the old forums.
I’m looking to upload and attach Media to variants. The following scenario fails with this user error: “Non-ready media cannot be attached to variants”
Create Product (succeed)
Upload Media (succeed)
Attach Media to Product (succeed)
Attach Product Media to Variant (fails)
Has anyone ever figured out a way to deal with this? If I debug and go through the steps at human speed it works. How is anyone supposed to know when the media is ready without making another API call to check? this is going to take longer than it did the old REST way, which will no longer be an option soon…
I don’t know what the issue is. I am not using the productUpdate mutation,
I’m using productVariantAppendMedia. This is the call that returns “Non-ready media cannot be attached to variants”
When you’re uploading/attaching the media to the product, you need to check for the media status Media - GraphQL Admin
Because it could be processing videos etc as well as images, these could take a little time to process. Which is why I think you’ll be seeing it working at human speed.
I would check this status, until its ready.
Simplest way you could just put a small wait in. Or if you wanted a really robust way, you could poll until its ready.
Yes, I had to resort to doing a check of the status until it’s ready. Unfortunately this extra check will slow down the overall process, compared to using the REST API. It seemed strange to me that you could attach an image to a product without the media being ready, but not associate that image to a particular variant of that product…
I’m also facing the same issue. After the product is created with files and variant, I try adding images to variants using mutation " productVariantAppendMedia" but the variant images remain empty. Has anyone found a solution to this?
@JordanFinners I had shared the productVariant output above, one for which images were added and other where images were not added (returned empty nodes array). Were you able to check this further?
It’s a multi step query, first using the “productSet” mutation and then mapping images to variants using “productVariantAppendMedia” mutation.
Sharing the queries and data for productSet mutation, media info returned from product created with productSet mutation and then mapping images to variants data.
#1: await shopClient.request( mutation createProductWithTwoOptionsAndVariants($productSet: ProductSetInput!, $synchronous: Boolean!) { productSet(synchronous: $synchronous, input: $productSet) { product { id title options(first: 5) { name position optionValues { name } } media(first: 250) { nodes { id status } } variants(first: 250) { nodes { id sku inventoryItem { id } } } } userErrors { field message } } },
{
“variables”: {
“synchronous”: true,
“productSet”: productSetData.product
}
}
); #2: await shopClient.request( mutation productVariantAppendMedia($productId: ID!, $variantMedia: [ProductVariantAppendMediaInput!]!) { productVariantAppendMedia(productId: $productId, variantMedia: $variantMedia) { product { id } } },
{
“variables”: {
“productId”: id,
“variantMedia”: variantMediaArr
},
},
);
Example Data: #1 for productSet mutation:
{“product”:{“title”:“Personalized Nautical Flags Wall Art Decor
Poster Photo Print, Ideal For Home or Office”,“descriptionHtml”:“
Personalized Kappa Alpha Psi Wall Art –
Custom Name, University, and Year, Fraternity Keepsake Gift for Dad, Son, Grandpa, Friends, Unique Decoration
for Home, Office, Bedroom, Greek Theme Poster
”,“vendor”:“Fashion Greek”,“productType”:“11x14 Family Wall
Art”,“tags”:“test,11x14 Family Wall Art,Personalized,YGroup_1026”,“status”:“ACTIVE”,“handle”:“personalized
-nautical-flags-wall-artx”,“variants”:[{“sku”:“1026NAU01AR01DEVX8x10U”,“inventoryItem”:{“cost”:“15.99”,“track
ed”:false,“measurement”:{“weight”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and
Frame”,“name”:“8"x10"
Unframed”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“8"x10"
Unframed”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“15.99”,“compareAtPrice”:0
,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}}
,{“sku”:“1026NAU01AR01DEVX8x10UWH8x10”,“inventoryItem”:{“cost”:“27.99”,“tracked”:false,“measurement”:{“weight
“:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“8"x10" White
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“8"x10" White
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“27.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{”
sku”:“1026NAU01AR01DEVX8x10UBL8x10”,“inventoryItem”:{“cost”:“27.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“8"x10" Black
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“8"x10" Black
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“27.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX8x10UNL8x10”,“inventoryItem”:{“cost”:“27.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“8"x10" Natural
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“8"x10" Natural
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“27.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX8x10UWN8x10”,“inventoryItem”:{“cost”:“27.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“8"x10" Walnut
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“8"x10" Walnut
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“27.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX8x10MWH11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weight”:
{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" White Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" White Frame with
Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0,“inv
entoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{“sk
u”:“1026NAU01AR01DEVX8x10MBL11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weight”:{"
unit":“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" Black Frame with
Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" Black Frame with
Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0,“inv
entoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{“sk
u”:“1026NAU01AR01DEVX8x10MNL11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weight”:{"
unit":“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" Natural Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" Natural Frame
with Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0
,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}}
,{“sku”:“1026NAU01AR01DEVX8x10MWN11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weigh
t”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" Walnut
Frame with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" Walnut
Frame with Mat”,“type”:“single_line_text_field”,“description”:“Size and
Frame”}],“price”:“32.99”,“compareAtPrice”:0,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxx”,“quantity”:10,“name”:“available”}},{“sku”:“1026NAU01AR01DEVX11x14U”,“inventoryItem”:{“cost”:“25.99”,
“tracked”:false,“measurement”:{“weight”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and
Frame”,“name”:“11"x14"
Unframed”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14"
Unframed”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“25.99”,“compareAtPrice”:0
,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}}
,{“sku”:“1026NAU01AR01DEVX11x14UWH11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weig
ht”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" White
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" White
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX11x14UBL11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" Black
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" Black
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX11x14UNL11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" Natural
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" Natural
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX11x14UWN11x14”,“inventoryItem”:{“cost”:“32.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“11"x14" Walnut
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“11"x14" Walnut
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“32.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX11x14MWH16x20”,“inventoryItem”:{“cost”:“39.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“16"x20" White Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“16"x20" White Frame with
Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“39.99”,“compareAtPrice”:0,“inv
entoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{“sk
u”:“1026NAU01AR01DEVX11x14MBL16x20”,“inventoryItem”:{“cost”:“39.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“16"x20" Black Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“16"x20" Black Frame with
Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“39.99”,“compareAtPrice”:0,“inv
entoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{“sk
u”:“1026NAU01AR01DEVX11x14MNL16x20”,“inventoryItem”:{“cost”:“39.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“16"x20" Natural Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“16"x20" Natural Frame
with Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“39.99”,“compareAtPrice”:0
,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}}
,{“sku”:“1026NAU01AR01DEVX11x14MWN16x20”,“inventoryItem”:{“cost”:“39.99”,“tracked”:false,“measurement”:{“weig
ht”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“16"x20" Walnut
Frame with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“16"x20" Walnut
Frame with Mat”,“type”:“single_line_text_field”,“description”:“Size and
Frame”}],“price”:“39.99”,“compareAtPrice”:0,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xx”,“quantity”:10,“name”:“available”}},{“sku”:“1026NAU01AR01DEVX13x19U”,“inventoryItem”:{“cost”:“30.99”,
“tracked”:false,“measurement”:{“weight”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and
Frame”,“name”:“13"x19"
Unframed”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“13"x19"
Unframed”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“30.99”,“compareAtPrice”:0
,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}}
,{“sku”:“1026NAU01AR01DEVX13x19UWH13x19”,“inventoryItem”:{“cost”:“41.99”,“tracked”:false,“measurement”:{“weig
ht”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“13"x19" White
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“13"x19" White
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“41.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX13x19UBL13x19”,“inventoryItem”:{“cost”:“41.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“13"x19" Black
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“13"x19" Black
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“41.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX13x19UNL13x19”,“inventoryItem”:{“cost”:“41.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“13"x19" Natural
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“13"x19" Natural
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“41.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX13x19UWN13x19”,“inventoryItem”:{“cost”:“41.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“13"x19" Walnut
Frame”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“13"x19" Walnut
Frame”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“41.99”,“compareAtPrice”:0,“i
nventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{"
sku":“1026NAU01AR01DEVX13x19MWH19x25”,“inventoryItem”:{“cost”:“52.99”,“tracked”:false,“measurement”:{“weight”
:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“19"x25" White Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“19"x25" White Frame with
Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“52.99”,“compareAtPrice”:0,“inv
entoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{“sk
u”:“1026NAU01AR01DEVX13x19MBL19x25”,“inventoryItem”:{“cost”:“52.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“19"x25" Black Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“19"x25" Black Frame with
Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“52.99”,“compareAtPrice”:0,“inv
entoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}},{“sk
u”:“1026NAU01AR01DEVX13x19MNL19x25”,“inventoryItem”:{“cost”:“52.99”,“tracked”:false,“measurement”:{“weight”:{
“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“19"x25" Natural Frame
with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“19"x25" Natural Frame
with Mat”,“type”:“single_line_text_field”,“description”:“Size and Frame”}],“price”:“52.99”,“compareAtPrice”:0
,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxxx”,“quantity”:10,“name”:“available”}}
,{“sku”:“1026NAU01AR01DEVX13x19MWN19x25”,“inventoryItem”:{“cost”:“52.99”,“tracked”:false,“measurement”:{“weig
ht”:{“unit”:“POUNDS”,“value”:0}}},“optionValues”:[{“optionName”:“Size and Frame”,“name”:“19"x25" Walnut
Frame with Mat”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“size”,“value”:“19"x25" Walnut
Frame with Mat”,“type”:“single_line_text_field”,“description”:“Size and
Frame”}],“price”:“52.99”,“compareAtPrice”:0,“inventoryQuantities”:{“locationId”:“gid://shopify/Location/xxx”,“quantity”:10,“name”:“available”}}],“productOptions”:[{“name”:“Size and
Frame”,“values”:[{“name”:“8"x10" Unframed”},{“name”:“8"x10" White Frame”},{“name”:“8"x10" Black
Frame”},{“name”:“8"x10" Natural Frame”},{“name”:“8"x10" Walnut Frame”},{“name”:“11"x14" White Frame
with Mat”},{“name”:“11"x14" Black Frame with Mat”},{“name”:“11"x14" Natural Frame with
Mat”},{“name”:“11"x14" Walnut Frame with Mat”},{“name”:“11"x14" Unframed”},{“name”:“11"x14" White
Frame”},{“name”:“11"x14" Black Frame”},{“name”:“11"x14" Natural Frame”},{“name”:“11"x14" Walnut
Frame”},{“name”:“16"x20" White Frame with Mat”},{“name”:“16"x20" Black Frame with
Mat”},{“name”:“16"x20" Natural Frame with Mat”},{“name”:“16"x20" Walnut Frame with
Mat”},{“name”:“13"x19" Unframed”},{“name”:“13"x19" White Frame”},{“name”:“13"x19" Black
Frame”},{“name”:“13"x19" Natural Frame”},{“name”:“13"x19" Walnut Frame”},{“name”:“19"x25" White Frame
with Mat”},{“name”:“19"x25" Black Frame with Mat”},{“name”:“19"x25" Natural Frame with
Mat”},{“name”:“19"x25" Walnut Frame with Mat”}]}],“files”:[{“alt”:“Personalized Nautical Flags Wall Art
Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235029688b1235139f2_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235035688b123b42454_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235041688b1241312ba_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235047688b12471cdbe_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235053688b124d0c60e_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235059688b12533a3c6_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235105688b125960e59_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235111688b125f456da_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235117688b12653225f_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235123688b126b1b42e_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235128688b1270e1a69_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235134688b1276cb5cc_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235140688b127cae540_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235147688b12831e941_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235153688b128952a15_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235159688b128f29a0e_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235205688b12955a50e_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235211688b129b48e96_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235217688b12a13ccf4_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235223688b12a7b9381_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235229688b12ada7352_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235235688b12b39993a_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235241688b12b98fdf9_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235247688b12bf89982_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235253688b12c57ad54_front.png”},{“alt”:“Personalized Nautical Flags Wall Art Decor Poster Photo
Print, Ideal For Home or Office - Front View”,“contentType”:“IMAGE”,“originalSource”:“https://test
.com/media/product/35/9/nautic_gfeedres_20250730235259688b12cb63693_front.png”},{“alt”:“Personalized Nautical
Flags Wall Art Decor Poster Photo Print, Ideal For Home or Office - Front
View”,“contentType”:“IMAGE”,“originalSource”:“https://test.com/media/product/35/9/nautic_gfeedres_
20250730235305688b12d1b0a22_front.png”}],“metafields”:[{“namespace”:“mm-google-shopping”,“key”:“condition”,“v
alue”:“new”,“type”:“single_line_text_field”,“description”:null},{“namespace”:“mm-google-shopping”,“key”:“cust
om_product”,“value”:“true”,“type”:“boolean”,“description”:null},{“namespace”:“test”,“key”:“sku”,“value”:“10
26NAU01AR01DEVX”,“type”:“single_line_text_field”,“description”:“SKU”},{“namespace”:“test”,“key”:“selector_i
d”,“value”:“1026”,“type”:“single_line_text_field”,“description”:“Selector ID”}]},“productImageMap”:[{“positio
n”:1,“SKUs”:[“1026NAU01AR01DEVX11x14U”]},{“position”:2,“SKUs”:[“1026NAU01AR01DEVX8x10U”]},{“position”:3,"SKUs
":[“1026NAU01AR01DEVX8x10UWH8x10”]},{“position”:4,“SKUs”:[“1026NAU01AR01DEVX8x10UBL8x10”]},{“position”:5,“SKU
s”:[“1026NAU01AR01DEVX8x10UNL8x10”]},{“position”:6,“SKUs”:[“1026NAU01AR01DEVX8x10UWN8x10”]},{“position”:7,“SK
Us”:[“1026NAU01AR01DEVX8x10MWH11x14”]},{“position”:8,“SKUs”:[“1026NAU01AR01DEVX8x10MBL11x14”]},{“position”:9,
“SKUs”:[“1026NAU01AR01DEVX8x10MNL11x14”]},{“position”:10,“SKUs”:[“1026NAU01AR01DEVX8x10MWN11x14”]},{"position
":11,“SKUs”:[“1026NAU01AR01DEVX11x14UWH11x14”]},{“position”:12,“SKUs”:[“1026NAU01AR01DEVX11x14UBL11x14”]},{“p
osition”:13,“SKUs”:[“1026NAU01AR01DEVX11x14UNL11x14”]},{“position”:14,“SKUs”:["1026NAU01AR01DEVX11x14UWN11x14
"]},{“position”:15,“SKUs”:[“1026NAU01AR01DEVX11x14MWH16x20”]},{“position”:16,“SKUs”:[“1026NAU01AR01DEVX11x14M
BL16x20”]},{“position”:17,“SKUs”:[“1026NAU01AR01DEVX11x14MNL16x20”]},{“position”:18,“SKUs”:[“1026NAU01AR01DEV
X11x14MWN16x20”]},{“position”:19,“SKUs”:[“1026NAU01AR01DEVX13x19U”]},{“position”:20,“SKUs”:[“1026NAU01AR01DEV
X13x19UWH13x19”]},{“position”:21,“SKUs”:[“1026NAU01AR01DEVX13x19UBL13x19”]},{“position”:22,“SKUs”:[“1026NAU01
AR01DEVX13x19UNL13x19”]},{“position”:23,“SKUs”:[“1026NAU01AR01DEVX13x19UWN13x19”]},{“position”:24,“SKUs”:[“10
26NAU01AR01DEVX13x19MWH19x25”]},{“position”:25,“SKUs”:[“1026NAU01AR01DEVX13x19MBL19x25”]},{“position”:26,“SKU
s”:[“1026NAU01AR01DEVX13x19MNL19x25”]},{“position”:27,“SKUs”:[“1026NAU01AR01DEVX13x19MWN19x25”]}]}
#media information received from the added product: [{“id”:“gid://shopify/MediaImage/xxxxx15718190”,“status”:“PROCESSING”,“position”:1},{“id”:“gid://shopify/Med
iaImage/42071415750958”,“status”:“PROCESSING”,“position”:2},{“id”:“gid://shopify/MediaImage/xxxxx15783726”,"
status":“PROCESSING”,“position”:3},{“id”:“gid://shopify/MediaImage/xxxxx15816494”,“status”:“PROCESSING”,“pos
ition”:4},{“id”:“gid://shopify/MediaImage/xxxxx15849262”,“status”:“PROCESSING”,“position”:5},{“id”:“gid://sh
opify/MediaImage/xxxxx15882030”,“status”:“PROCESSING”,“position”:6},{“id”:“gid://shopify/MediaImage/xxxxx15
914798”,“status”:“PROCESSING”,“position”:7},{“id”:“gid://shopify/MediaImage/xxxxx15947566”,“status”:“PROCESS
ING”,“position”:8},{“id”:“gid://shopify/MediaImage/xxxxx15980334”,“status”:“PROCESSING”,“position”:9},{“id”:
“gid://shopify/MediaImage/xxxxx16013102”,“status”:“PROCESSING”,“position”:10},{“id”:“gid://shopify/MediaImag
e/42071416045870”,“status”:“PROCESSING”,“position”:11},{“id”:“gid://shopify/MediaImage/xxxxx16078638”,“statu
s”:“PROCESSING”,“position”:12},{“id”:“gid://shopify/MediaImage/xxxxx16111406”,“status”:“PROCESSING”,“positio
n”:13},{“id”:“gid://shopify/MediaImage/xxxxx16144174”,“status”:“PROCESSING”,“position”:14},{“id”:“gid://shop
ify/MediaImage/xxxxx16176942”,“status”:“PROCESSING”,“position”:15},{“id”:“gid://shopify/MediaImage/xxxxx162
09710”,“status”:“PROCESSING”,“position”:16},{“id”:“gid://shopify/MediaImage/xxxxx16242478”,“status”:“PROCESS
ING”,“position”:17},{“id”:“gid://shopify/MediaImage/xxxxx16275246”,“status”:“UPLOADED”,“position”:18},{“id”:
“gid://shopify/MediaImage/xxxxx16308014”,“status”:“UPLOADED”,“position”:19},{“id”:“gid://shopify/MediaImage/
42071416340782”,“status”:“PROCESSING”,“position”:20},{“id”:“gid://shopify/MediaImage/xxxxx16373550”,“status”
:“PROCESSING”,“position”:21},{“id”:“gid://shopify/MediaImage/xxxxx16406318”,“status”:“PROCESSING”,“position”
:22},{“id”:“gid://shopify/MediaImage/xxxxx16439086”,“status”:“UPLOADED”,“position”:23},{“id”:“gid://shopify/
MediaImage/xxxxx16471854”,“status”:“UPLOADED”,“position”:24},{“id”:“gid://shopify/MediaImage/xxxxx16504622”
,“status”:“UPLOADED”,“position”:25},{“id”:“gid://shopify/MediaImage/xxxxx16537390”,“status”:“UPLOADED”,“posi
tion”:26},{“id”:“gid://shopify/MediaImage/xxxxx16570158”,“status”:“UPLOADED”,“position”:27}]
#3 media mapping example data: [{“mediaIds”:[“gid://shopify/MediaImage/42
071416570158”],“variantId”:“gid://shopify/ProductVariant/xxx”}]
Please can you add/check the user errors on your appendmedia mutation as I think that might be what was causing the issue here. A user error that wasn’t caught
Sure, thanks. I’ll add this and share the response. It works when I publish product from my app’s local instance onto a dev store. Problem is with the live store. Can MediaImage status “PROCESSING” can cause the variant images to not getting appended and be blank?