GRAPHQL VIDEO UPLOAD

chrismeli
Shopify Partner
1 0 0

Hi there, I am using the 

mutation stagedUploadsCreate in order to upload a video file (25mbs) and post it in my client's shopify store. I successfuly get the policy, key, signature, googleaccessid and the url https://shopify-video-production-core-originals.storage.googleapis.com?external_video_id=[Video ID] but whenever I try to send a post (or even a put request) in postman I receive this error even though I also have set the header of "X-Shopify-Access-Token"

 

<?xml version='1.0' encoding='UTF-8'?>
<Error>
    <Code>MissingSecurityHeader</Code>
    <Message>Your request was missing a required header.</Message>
    <Details>Authorization</Details>
</Error>​

 

I have tried sending both a post and put request to https://shopify-video-production-core-originals.storage.googleapis.com?external_video_id=[videoid] or even https://shopify-video-production-core-originals.storage.googleapis.com

Also I have tried setting the content-type to application/graphql to no avail (it should be normally set as multipart/form-data since I am uploading a form

Reply 1 (1)

dldukes
Shopify Partner
1 0 0

I am having this identical issue.  Images upload successfully but videos result in the missing header above.  Was this ever resolved?