Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Roku Guru

Re: Feed URL Validation Error

mitchstein...thanks for the feedback.

belltown...I'm happy to say that my problems are finally resolved.  You were right, it was a problem with the feed even though it would work correctly from myjson.  I found that my Powershell script was using the following to create the json file:

$jsonBody | ConvertTo-Json -Depth 10 | Out-File $jsonPath -Encoding utf8

It was writing the BOM as you had suspected.  I changed the code to:

$jsonFile = $jsonBody | ConvertTo-Json -Depth 10
[System.IO.File]::WriteAllLines($jsonPath, $jsonFile)

And, it correctly writes the file without the BOM.  I'm now able to upload the feed successfully to S3 and it validates correctly in the developer portal.

Once again, thanks for your help.
FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos