I am currently having issues uploading my Roku channel with the Direct Publisher tool. When I try inputting my URL for my media feed, I get this error below.
JSON (SyntaxError: Unexpected token in JSON at position 0)
I have ran my JSON file through various websites to determine if my file is valid in which it had passed each website's validation test. It is important to note that my media feed/JSON file does originate from an AWS S3 bucket. I have been in constant communication with customer service to the point where this issue has been escalated to the Engineering department. They also direct me to this forum where I may be able to get assistance from the public. I have listed the JSON file below, how can I fix this issue?
I'm not sure how you coded your feed file, but, it has several 'logic' errors. While it may have been validated by a Json linter, it does not meet the specifications of the Direct Publisher Json Schema. Json linters look for syntax errors in the Json. They do not validate against a Schema.
For example, your feed contains a "liveFeed" object followed by a "Recipe" object. The Roku schema does not contain a "Recipe" object. It looks like you may have tried to define "Recipe" under a different object type, but, it is not correct according to the Roku Json Schema.
If you are coding the feed file using an editor like NotePad, don't. There are plenty of "tools" available on this forum to help you create and manage your feed file.
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.