Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mmahoney
Level 7

Feed Status Duplicate ID error

Hello,
I am getting an error in direct publisher saying that there is duplicate IDs in the feed. The issue is, I cannot find what ID they're referring to or what it means.

Please look at the picture in this link as the board would not let me insert
http://www.wcat-tv.org/wp-content/uploa ... -error.png

Thank you,
Mike
0 Kudos
8 Replies
Baradanikto
Level 13

Re: Feed Status Duplicate ID error

Please post your feed file. I can validate it using software I have written.
FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
mmahoney
Level 7

Re: Feed Status Duplicate ID error

http://www.wcat-tv.org/wp-json/tv/roku/
0 Kudos
mmahoney
Level 7

Re: Feed Status Duplicate ID error

"Baradanikto" wrote:
Please post your feed file. I can validate it using software I have written.

www.wcat-tv.org/wp-json/tv/roku/
0 Kudos
Baradanikto
Level 13

Re: Feed Status Duplicate ID error

I'm not sure how you created your feed file, but, there are some problems with it.  The software found the following:


Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[0].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 6995.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[0].seasons[0].episodes[1].content.trickPLayFiles.url', line 1, position 7873.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[1].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 9084.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[1].seasons[0].episodes[1].content.trickPLayFiles.url', line 1, position 9962.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[2].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 11368.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[3].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 12586.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[3].seasons[1].episodes[0].content.trickPLayFiles.url', line 1, position 13454.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[4].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 14827.


I think they may be caused by a stray bracket "{}[]" of some kind.  I can't tell because your file seems to be one long string.  It's difficult to read.  Additionally, a quick scan did show that you do have duplicate ids: for example '3014'.
FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
mmahoney
Level 7

Re: Feed Status Duplicate ID error

"Baradanikto" wrote:
I'm not sure how you created your feed file, but, there are some problems with it.  The software found the following:


Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[0].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 6995.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[0].seasons[0].episodes[1].content.trickPLayFiles.url', line 1, position 7873.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[1].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 9084.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[1].seasons[0].episodes[1].content.trickPLayFiles.url', line 1, position 9962.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[2].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 11368.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[3].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 12586.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[3].seasons[1].episodes[0].content.trickPLayFiles.url', line 1, position 13454.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'RokuJsonFeedManager.TrickPlayFilesObject[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'series[4].seasons[0].episodes[0].content.trickPLayFiles.url', line 1, position 14827.


I think they may be caused by a stray bracket "{}[]" of some kind.  I can't tell because your file seems to be one long string.  It's difficult to read.  Additionally, a quick scan did show that you do have duplicate ids: for example '3014'.

Thank you for the quick response, I will attempt to investigate further and reply back to you with an update. 
Thank you again
0 Kudos
Pataganja
Level 7

Re: Feed Status Duplicate ID error

My developer is getting this same error and said it’s cause of duplicates in Vimeo but they’re all different videos. Did you find a solution to this?

0 Kudos
AaronMSpelling
Level 12

Re: Feed Status Duplicate ID error

@Pataganja  if you use vimeo in any shape or form  , that cannot be the problem with duplicates - every video has his own id so no way to have duplicates if not ... using the same video with the same information in the feed. 

If you are using the vimeo feed for your channel - same - just cannot be. 

Maybe it would be a good idea to change your developer or do it yourself Smiley Happy 

 

 

Building a TV Channel can be easy … if you have a right tools ===>> https://tv-channel.info/
0 Kudos
37mediagroup
Level 12

Re: Feed Status Duplicate ID error

As Aaron Spelling said, this sounds highly unlikely to be Vimeo's problem.  Chances are, your developer is copying & pasting the shows or movies, and just 'replacing' the name, url, thumbnail etc. And on occasion forgetting to change the ID (from something like 0017 to 0018 etc)

0 Kudos