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
Level 12

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 creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ https://github.com/rrirower. No programming knowledge required.
0 Kudos