Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Cannot upload videos to products through GraphQL

Cannot upload videos to products through GraphQL

subangan
Visitor
1 0 0

Hi,

 

I am trying to upload videos to our products in Shopify through GraphQL. I read this document and applied the same steps. But we got this error in Shopify after upload, Please see the image below:

Error in Shopify Product pageError in Shopify Product page

 

I have shared the code segment which we have implemented for video upload:

 

API CALL.pngVideo Uploads.png

 

Can you please help here with what we have missed here and help us to upload the video correctly.

Thanks.

Reply 1 (1)

Jason_Tigas
Shopify Staff (Retired)
28 0 18

Hey, 

 

Try getting more info on what failed using userErrors

Jason_Tigas_0-1646412747262.png

 

To learn more visit the Shopify Help Center or the Community Blog.