Gimpy
4 years agoNewbie
Issues with Direct Publisher (JSON)
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?
{ "providerName": "Example LLC", "language": "en-US", "lastUpdated": "2021-06-28T11:59:58+00:00", "liveFeed": [ { "id": "12340dc1b1c11c000101fd2e", "title": "Live Example", "content": { "dateAdded": "2021-05-02", "videos": [ { "url": "https://example.s3.amazonaws.com/example/media/live/video.m3u8", "quality": "HD", "videoType": "HLS" } ], "language": "en-us" }, "thumbnail": "https://example.s3.amazonaws.com/live/thumbs/12340dc1b1c11c000101fd2e/thumb.jpg", "shortDescription": "Example Stream", "tags": [], "genres": [] } ], "Recipe": [ { "id": "10d4cd2aa00d240000f2b0ca", "title": "Example: Another", "thumbnail": "https://example.s3.amazonaws.com/outputs/10d4cd2aa00d240000f2b0ca/Default/Thumbnails/out_003.png", "shortDescription": "No description.", "longDescription": "No description.", "releaseDate": "2021-06-24T18:21:09.085Z", "content": { "dateAdded": "2021-06-24T18:38:54.509Z", "videos": [ { "url": "https://example.s3.amazonaws.com/outputs/10d4cd2aa00d240000f2b0ca/Default/HLS/out.m3u8", "quality": "HD", "videoType": "HLS" } ] }, "duration": 622, "tags": [ "video" ] }, { "id": "00d4cd200f200c0000000f30", "title": "Recipe", "thumbnail": "https://example.s3.amazonaws.com/outputs/00d4cd200f200c0000000f30/Default/Thumbnails/out_003.png", "shortDescription": "No description.", "longDescription": "No description.", "releaseDate": "2021-06-24T18:20:09.096Z", "content": { "dateAdded": "2021-06-24T18:31:02.484Z", "videos": [ { "url": "https://example.s3.amazonaws.com/outputs/00d4cd200f200c00090000f30/Default/HLS/out.m3u8", "quality": "HD", "videoType": "HLS" } ] }, "duration": 5000, "tags": [ "video" ] } ], "series": [ { "id": "00d4cd2aa00d000000f4b0ca", "title": "Playlist", "shortDescription": "example", "thumbnail": "https://example.s3.amazonaws.com/outputs/00d4cd2aa00d000000f4b0ca/Default/Thumbnails/out_003.png", "genres": [ "" ], "tags": [ "" ], "seasons": [ { "title": "Recipe", "episode": [ { "id": "00d4cd2aa00d000000f4b0ca", "title": "Example: Episode 1", "episodeNumber": 1, "content": { "dateAdded": "2021-06-24T18:38:54.509Z", "videos": [ { "videoType": "HLS", "url": "https://example.s3.amazonaws.com/outputs/00d4cd2aa00d000000f4b0ca/Default/HLS/out.m3u8", "quality": "HD" } ], "duration": 500, "captions": [], "language": "en-us" }, "thumbnail": "https://example.s3.amazonaws.com/outputs/00d4cd2aa00d000000f4b0ca/Default/Thumbnails/out_003.png" }, { "id": "00d4cd000f000c0000000f30", "title": "Another Example", "episodeNumber": 2, "content": { "dateAdded": "2021-06-24T18:31:02.484Z", "videos": [ { "videoType": "HLS", "url": "https://example.s3.amazonaws.com/outputs/00d4cd000f000c0000000f30/Default/HLS/out.m3u8", "quality": "HD" } ], "duration": 5000, "captions": [], "language": "en-us" }, "thumbnail": "https://example.s3.amazonaws.com/outputs/00d4cd000f000c0000000f30/Default/Thumbnails/default_003.png" } ] } ] } ] }