Forum Discussion

Zave's avatar
Zave
Binge Watcher
3 years ago

Direct Publisher JSON Feed using Amazon s3/Cloudfront as my CDN

@Baradanikto 

Can you tell me what's wrong here?  I uploaded myJSON to myCDN (Amazon s3/ Cloudfront distro) and copied the URL to where my feed is located in AWS, but i'm getting a consistent error (below).

Note: I also tried using all the Video Formats below as well.

Can anyone help?

  • The url you posted is not a Cloudfront url.  It should look something like

    http://026550cf85f84b.cloudfront.net/...

    More importantly, the url you posted is not accessible from a browser.  I think the error is thrown because Roku cannot access your feed file and determine the video format.

    • Zave's avatar
      Zave
      Binge Watcher

      Baradanikto Thx for your reply!  I thought it had to be a secure URL (eg: https://...) Is that not the case?

      • Zave's avatar
        Zave
        Binge Watcher

        Baradanikto

        The below error is what I get when I tried to use the Cloudfront URL per your suggestion.  I'm sure there's something missing in the URL (perhaps the actual JSON file)?

        When I append the JSON file to this URL, I get the an error as well (see below):

        When I append to the URL,I get the following below:

        Which 1 of these Objects should I Append to the Cloudfront URL?

         

        AaronMSpelling ,

        Here's what returned when I input the Cloudfront URL in my browser:

    • Baradanikto's avatar
      Baradanikto
      Roku Guru

      I'm not sure where the problem lies, but, as I've indicated earlier, your feed url looked OK.

      It should follow this format:

      <CloudFront Domain>/<Feed file name>

      For example, 

      https://d26l19cca9xspq.cloudfront.net/CuddleSaurAnimations.json

       

      Keep in mind:

      The name of the feed file is case-sensitive.

      You must upload the feed file with meta-data: Content-Type application/json.

      If the above does not work, it's time yo contact Roku Partner Success or Amazon for more help.