Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Jen_Jen
Level 8

RSS feed errors despite json validation

When I attempt to create a channel and provide a feed: http://www.msdivine.net/roku/msdivinetv.rss

I keep getting error "Failed to parse the feed with the following XML error: 'Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: {'."

However running this file through a json lint such as https://jsonformatter.curiousconcept.com/, i am able to validate that my format is correct.

 

Please advise.

Tags (3)
0 Kudos
14 Replies
Highlighted
Baradanikto
Level 10

Re: RSS feed errors despite json validation

By using a ".rss" file extension, you are implying that the feed file is XML based, when in fact, its contents are json based.  Try renaming the file to use a ".json" extension.

Windows desktop software for creating and managing MRSS, JSON, and FireTV feeds @ https://github.com/rrirower. No Programming, JSON or MRSS knowledge required.
0 Kudos
Highlighted
Jen_Jen
Level 8

Re: RSS feed errors despite json validation

So now i upload the feed as http://www.msdivine.net/roku/MsDivineTeeHee.json but it says that "No valid items were found in the feed: validate"

I have no idea why. Please advise.

0 Kudos
Highlighted
37mediagroup
Level 11

Re: RSS feed errors despite json validation

What's the deal with the actual video url (.mp4)?  It doesn't seem to play when pasted into a browser, does it?

0 Kudos
Highlighted
Baradanikto
Level 10

Re: RSS feed errors despite json validation

Your feed file seems to validate correctly.  If you've used the same name for the feed file after making changes, it may take upwards of 6+ hours for Roku to update your channel.

Windows desktop software for creating and managing MRSS, JSON, and FireTV feeds @ https://github.com/rrirower. No Programming, JSON or MRSS knowledge required.
0 Kudos
Highlighted
Jen_Jen
Level 8

Re: RSS feed errors despite json validation

The link initially had no video for some weird reason. Now I put the proper link and it plays in the browser.

But I still am getting error ""No valid items were found in the feed: validate"

0 Kudos
Highlighted
Baradanikto
Level 10

Re: RSS feed errors despite json validation

One other thing to check.  Go to the Roku Developer's portal and check the menu item for "Categories".  Your feed file contains a Category item, so, you should insure that you've checked "From feed" in the developer portal.

Windows desktop software for creating and managing MRSS, JSON, and FireTV feeds @ https://github.com/rrirower. No Programming, JSON or MRSS knowledge required.
0 Kudos
Highlighted
Jen_Jen
Level 8

Re: RSS feed errors despite json validation

I checked the portal and category is checked with feed. I still am getting error "1 item has an error: No valid items were found in the feed: validate"

Please advise.

0 Kudos
prod-3213
Level 7

Re: RSS feed errors despite json validation

I am receiving the same error, but not just with my file, with ANY file I try, including the supplied tutorial file, linked here:  https://api.myjson.com/bins/4tu28

 

 

0 Kudos
Highlighted
anthill
Level 7

Re: RSS feed errors despite json validation

Hello.

I'm having the same issue. Feed is json, but I'm getting the same error that others reported:

 

Failed to parse the feed with the following XML error: 'Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: {'.

 

I'm using the WordPress Direct Publisher for Roku (https://github.com/heyjones/roku-direct-publisher).

This is my feed: https://storiessecretsandsagas.com/feed/roku-direct-publisher/

Any assistance is much appreciated.

Thanks.

0 Kudos