Cannot deserialize the current JSON array

Forum rules
Get Help using the Schedules Direct service. NOTE: application issues are probably better resolved via the application's support methods. If you post here, at least include your application name!
Post Reply
Posts: 1
Joined: Tue Apr 04, 2017 9:41 am

Cannot deserialize the current JSON array

Post by BigPinkDragon286 »

Using epg123, multiple versions, including the latest, 1.1.3, on both Windows 7 and Windows 8.1 w/ WMC, for zip code 97132. After epg123 submits the login credentials it returns with the following error:

Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'epg123.sdApi.SdLineupStation' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be a deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path 'stations[55]', line 1, position 36318.

There is another post regarding the same error which can be found here: ... 3&p=115870

It sounds like it is a problem in the JSON data being retrieved from Schedules Direct by the epg123 client.

I was directed to open a support ticket with Schedules Direct to fix the lineup. I would love it if somebody here could look into it.

Post Reply