"Baradanikto" wrote:
Please post your feed file. I can validate it using software I have written.
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.
"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'.
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?
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)