Forum Discussion

peaktv's avatar
peaktv
Channel Surfer
4 years ago
Solved

I cant get past the feed validation - this is as simple as it gets. JSON Feed manager.

https://github.com/peaktv/roku/blob/main/roku.json

IVe been at this for 3 days. I havent written code in 20 years. I am using github.com/json feed manager. 

I stripped this down to the bare minumum. one video, one thumbnail. 3 min clip. no matter what I do this error will not go away. 

The server returned an unsupported content type. Was expecting 'application/rss+xml', 'text/xml', 'application/xml' or 'application/json' but received 'text/html; charset=utf-8

I even took the developers test json file and compared it. I just cant seem to locate the issue. any help would be greatly appreciated. 

  • I use Amazon S3.  However, if you search this forum, you'll find many other options for hosting your content. 

    Keep in mind, Roku recommends using a CDN. With that in mind, make sure when uploading your feed file that you use a content type of "application/JSON".

6 Replies

  • I think your problem is the choice of where you are hosting the feed file.  GitHub is not the best place to host a feed file.  What are you using for the feed url in the developer portal?  Have you tried using the "raw" address?

    https://raw.githubusercontent.com/peaktv/roku/main/roku.json
      • peaktv's avatar
        peaktv
        Channel Surfer

        im gonna try that feed url you suggested sir

    • peaktv's avatar
      peaktv
      Channel Surfer

      the raw url failed - same message. ..  do you have a different/better raw host place?

      • Baradanikto's avatar
        Baradanikto
        Roku Guru

        I use Amazon S3.  However, if you search this forum, you'll find many other options for hosting your content. 

        Keep in mind, Roku recommends using a CDN. With that in mind, make sure when uploading your feed file that you use a content type of "application/JSON".