Yummly

FREEMIUM
By Api Dojo | Updated 2 months ago | Food
Popularity

9.5 / 10

Latency

2,673ms

Service Level

100%

Back to All Discussions

Video

avatar
lukas.viliams
a month ago
Hello, why I am not allowed to access the video. 

This is messsage in browser:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>TF9VYA5QZPBDC9QK</RequestId>
<HostId>TjpbjHkBFBTNp/AlFLIxRFw8n4WB79ARRKauf/kdLP9ovAcUmHOSAZD0I8BUsOy97hFfwGwM8xE=</HostId>
</Error>

avatar
apidojo commented a month ago

Hello,

What was the url? How did you access the video? Did you simply open the link in a web browser?

Regards.

avatar
lukas.viliams commented a month ago

Thank you, for reply.

For instance this one:
https://s3.amazonaws.com/videos-yummly/uIND283Qpqzcwir6rpoJ_Montage_Sheet_Pan_Chicken_Nachos-dash.mpd.mp4
I have tried to open new tab and also another browser but response is always the same.

avatar
apidojo commented a month ago

Hello,

I believe you need to use some HTTP client library and video player to load the link with some header information included. You cannot access the link directly by using web browser.

Regards.

avatar
lukas.viliams commented a month ago

Hello,
unfortunately this is not the case. If you use html Element video and define source you get 403 forbidden response and this one means that you do not have sufficient rights to access the content. In another words, you need to login before consuming content.
It’s pity anyway…

avatar
apidojo commented a month ago

Hello,

You should differ the two cases. There are Yummly URLs required Premium account to access the video. These URLs belong to recipes requiring Premium account to access. The others do not.

Ex :
These are url extracted from ‘originalVideoUrl’ field returned in …/feeds/list endpoint.
https://s3.amazonaws.com/videos-yummly/LiZUf4nQTdOi9d9VeC9V_E109_Orecchiette_with_Broccoli_Rabe_and_Sweet_Italian_Sausage_Montage.mp4
https://s3.amazonaws.com/videos-yummly/h0T7BnRDQRqMZnYHBhlH_Fried_Chicken_Montage.mp4
https://s3.amazonaws.com/videos-yummly/CcQzyAnvTbGdkio9EmFd_Montage_Creamy_Tomato_Alphabet_Pasta.mp4

I can open the URL directly in a web browser.

Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 5 - Votes: 1