Staged video upload: AccessDenied

Hi Shopify Community,

When uploading videos we’re encountering a validation error we can’t understand:

<Error><Code>AccessDenied</Code><Message>Invalid according to Policy: Policy Condition failed: ["eq", "$bucket", "shopify-video-production-core-originals"]</Message><RequestId>P1NTAQ32A966ESDB</RequestId><HostId>YJCpvMw4NGBZOnFWtTo7pYRWbkc6A6Pw5mGyeG3cZllHi5efPJnU70fSDnQE+5k8x0QSTtYxD8M=</HostId></Error>

The app successfully uploads images, PDF files, audio files in the same way, but not videos. Along with that, we received a VIDEO_VALIDATION_ERROR in mediaErrors part of the response. The same video successfully passes validation when we upload it manually, using Admin > Settings > Files (it uploads fine and can be played after processing).

The video is a small testing file that is OK in terms of all video file requirements. We tried several different small videos from several different sources. Can anyone tell what exactly is causing the issue?

Screenshots of GraphQL request results are attached.

2 Likes

I’m seeing some errors around uploading videos. Will investigate tomorrow and see if it’s the same issue.