Your Digital Media Has Never Looked So Good

 
Hobson Media
Topic Author
Posts: 7
Joined: Fri Nov 30, 2018 2:21 pm

JSON Nightmare

Fri Nov 30, 2018 2:33 pm

I'm fairly new to the Roku Channel world and hired a free lancer to build my channel. He disappeared without leaving behind a "how to update" the channel checklist and now I'm pulling out both of my remaining hairs trying to figure out why I keep getting an error when I input the updated JSON file.

The error message from Roku is simple (see screen shot) but it doesn't help me decipher the error.

Is there anyone willing/able to take a look at the JSON file and see if you detect any errors? 

https://api.myjson.com/bins/tx776

My process was to copy/paste/replace existing code, dropping in the update info from Vimeo, so it's entirely possible I made a mistake in some way I can't diagnose.

I'm not please with the difficulty in trying to update the channel, so if someone has advice on a better way, I'm all ears. Thanks
 
destruk
Posts: 2599
Joined: Sat Dec 18, 2010 4:58 pm

Re: JSON Nightmare

Fri Nov 30, 2018 3:29 pm

It appears you put the framerate for the bitrate could be one of the problems.
                       "bitRate": 59.94
 
Hobson Media
Topic Author
Posts: 7
Joined: Fri Nov 30, 2018 2:21 pm

Re: JSON Nightmare

Fri Nov 30, 2018 4:29 pm

Is that the issue in the code for the new video at line 681 or are you seeing it elsewhere?

I thought I had copied from the other successful video uploads. Appreciate the insight and hope it’s somethint simple like you’re suggesting.
 
destruk
Posts: 2599
Joined: Sat Dec 18, 2010 4:58 pm

Re: JSON Nightmare

Fri Nov 30, 2018 5:38 pm

It appears all your bitrates are framerates.  But that's probably not the main problem.
 
Hobson Media
Topic Author
Posts: 7
Joined: Fri Nov 30, 2018 2:21 pm

Re: JSON Nightmare

Fri Nov 30, 2018 7:49 pm

The channel has been working fine until today when I tried to update it with the addition of a new video. The Topgolf Detroit video at line 681 is the problem but I can't figure out why.
 
Hobson Media
Topic Author
Posts: 7
Joined: Fri Nov 30, 2018 2:21 pm

Re: JSON Nightmare

Fri Nov 30, 2018 8:49 pm

I have a fresh JSON feed and it shows no errors...but my video doesn't appear on the channel. Sigh.

JSON Feed
 
User avatar
Baradanikto
Posts: 238
Joined: Tue Apr 30, 2013 7:55 am

Re: JSON Nightmare

Fri Dec 07, 2018 9:33 am

I'm not sure you're still looking for help, but, I found your post and used the software I wrote to validate your feed file.  You have several problems with the 'bitRate' field on your shortFormVideos.  They are actually integers and not 'float' values.  For future reference, your feed file is representative of a Direct Publisher channel.  Here's the errors I found:


Input string '29.97' is not a valid integer. Path 'shortFormVideos[0].content.videos[0].bitRate', line 1, position 466.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[0].content.videos[1].bitRate', line 1, position 671.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[0].content.videos[2].bitRate', line 1, position 876.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[6].content.videos[0].bitRate', line 1, position 8608.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[6].content.videos[1].bitRate', line 1, position 8813.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[6].content.videos[2].bitRate', line 1, position 9018.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[6].content.videos[3].bitRate', line 1, position 9223.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[7].content.videos[0].bitRate', line 1, position 10074.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[7].content.videos[1].bitRate', line 1, position 10279.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[7].content.videos[2].bitRate', line 1, position 10484.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[8].content.videos[0].bitRate', line 1, position 11196.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[8].content.videos[1].bitRate', line 1, position 11401.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[8].content.videos[2].bitRate', line 1, position 11606.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[9].content.videos[0].bitRate', line 1, position 12493.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[9].content.videos[1].bitRate', line 1, position 12698.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[9].content.videos[2].bitRate', line 1, position 12903.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[9].content.videos[3].bitRate', line 1, position 13108.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[10].content.videos[0].bitRate', line 1, position 13853.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[10].content.videos[1].bitRate', line 1, position 14058.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[10].content.videos[2].bitRate', line 1, position 14263.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[11].content.videos[0].bitRate', line 1, position 15019.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[11].content.videos[1].bitRate', line 1, position 15224.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[11].content.videos[2].bitRate', line 1, position 15429.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[11].content.videos[3].bitRate', line 1, position 15634.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[12].content.videos[0].bitRate', line 1, position 16432.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[12].content.videos[1].bitRate', line 1, position 16637.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[12].content.videos[2].bitRate', line 1, position 16842.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[13].content.videos[0].bitRate', line 1, position 17590.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[13].content.videos[1].bitRate', line 1, position 17795.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[13].content.videos[2].bitRate', line 1, position 18000.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[13].content.videos[3].bitRate', line 1, position 18205.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[14].content.videos[0].bitRate', line 1, position 19001.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[14].content.videos[1].bitRate', line 1, position 19206.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[14].content.videos[2].bitRate', line 1, position 19411.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[14].content.videos[3].bitRate', line 1, position 19616.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[15].content.videos[0].bitRate', line 1, position 20485.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[15].content.videos[1].bitRate', line 1, position 20690.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[15].content.videos[2].bitRate', line 1, position 20895.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[15].content.videos[3].bitRate', line 1, position 21100.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[16].content.videos[0].bitRate', line 1, position 21963.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[16].content.videos[1].bitRate', line 1, position 22168.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[16].content.videos[2].bitRate', line 1, position 22373.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[17].content.videos[0].bitRate', line 1, position 23234.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[17].content.videos[1].bitRate', line 1, position 23439.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[17].content.videos[2].bitRate', line 1, position 23644.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[18].content.videos[0].bitRate', line 1, position 24424.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[18].content.videos[1].bitRate', line 1, position 24629.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[18].content.videos[2].bitRate', line 1, position 24834.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[19].content.videos[0].bitRate', line 1, position 25646.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[19].content.videos[1].bitRate', line 1, position 25851.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[19].content.videos[2].bitRate', line 1, position 26056.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[19].content.videos[3].bitRate', line 1, position 26261.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[20].content.videos[0].bitRate', line 1, position 27076.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[20].content.videos[1].bitRate', line 1, position 27281.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[20].content.videos[2].bitRate', line 1, position 27486.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[21].content.videos[0].bitRate', line 1, position 28368.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[21].content.videos[1].bitRate', line 1, position 28573.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[21].content.videos[2].bitRate', line 1, position 28778.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[22].content.videos[0].bitRate', line 1, position 29641.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[22].content.videos[1].bitRate', line 1, position 29846.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[23].content.videos[0].bitRate', line 1, position 30647.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[23].content.videos[1].bitRate', line 1, position 30852.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[23].content.videos[2].bitRate', line 1, position 31057.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[24].content.videos[0].bitRate', line 1, position 31858.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[24].content.videos[1].bitRate', line 1, position 32063.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[24].content.videos[2].bitRate', line 1, position 32268.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[25].content.videos[0].bitRate', line 1, position 33199.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[25].content.videos[1].bitRate', line 1, position 33404.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[25].content.videos[2].bitRate', line 1, position 33609.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[26].content.videos[0].bitRate', line 1, position 34490.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[26].content.videos[1].bitRate', line 1, position 34695.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[26].content.videos[2].bitRate', line 1, position 34900.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[27].content.videos[0].bitRate', line 1, position 35711.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[27].content.videos[1].bitRate', line 1, position 35916.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[27].content.videos[2].bitRate', line 1, position 36121.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[28].content.videos[0].bitRate', line 1, position 36898.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[28].content.videos[1].bitRate', line 1, position 37103.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[28].content.videos[2].bitRate', line 1, position 37308.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[29].content.videos[0].bitRate', line 1, position 38070.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[29].content.videos[1].bitRate', line 1, position 38275.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[29].content.videos[2].bitRate', line 1, position 38480.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[30].content.videos[0].bitRate', line 1, position 39215.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[30].content.videos[1].bitRate', line 1, position 39420.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[30].content.videos[2].bitRate', line 1, position 39625.
Input string '59.94' is not a valid integer. Path 'shortFormVideos[31].content.videos[0].bitRate', line 1, position 40356.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[31].content.videos[1].bitRate', line 1, position 40561.
Input string '29.97' is not a valid integer. Path 'shortFormVideos[31].content.videos[2].bitRate', line 1, position 40766.
Public Roku Channel: Rowing

Windows software for creating and managing MRSS, JSON, and FireTV feeds @ https://www.rokurowingchannel.com. No Programming, JSON or MRSS knowledge required.

Who is online

Users browsing this forum: No registered users and 3 guests