Invalid data returned from schedules/md5 endpoint

Post Reply
GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Invalid data returned from schedules/md5 endpoint

Post by GameGod » Wed Nov 16, 2016 8:31 am

Hi,

As of this morning an invalid result is being returned for both my lineups:

Code: Select all

Getting listings for KTVUDT (KTVU-DT) [Channel 2.1]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '19571' from: {
  "19571": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'

Code: Select all

Getting listings for KTVU [Channel 2]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '10760' from: {
  "10760": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'
I'm not sure if other channels are effected, since my app stops when it encounters this error. Can this please be fixed ASAP?

Thanks.

rkulagow
SD Staff
Posts: 915
Joined: Tue Aug 14, 2007 3:15 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by rkulagow » Wed Nov 16, 2016 9:31 am

Are you still having an issue right now?

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Wed Nov 16, 2016 10:19 am

I was able to complete the update, thanks.

I did get a few warnings, such as those listed below.

Code: Select all

Warning: Exception when performing operation POST with url [https://json.schedulesdirect.org/20141201/token]: Error reading JObject from JsonReader. Path '', line 0, position 0.. Retrying...
Warning: Exception when performing operation POST with url [https://json.schedulesdirect.org/20141201/programs]: The remote server returned an error: (502) Bad Gateway.. Retrying...

rkulagow
SD Staff
Posts: 915
Joined: Tue Aug 14, 2007 3:15 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by rkulagow » Wed Nov 16, 2016 10:34 am

The 502 errors are coming from the Amazon load balancer; others have been reporting similar issues and I think AWS is investigating.

Good to hear that you were able to pull down the schedule.

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Wed Nov 16, 2016 10:49 am

Thanks for the update, appreciate it.

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Thu Nov 17, 2016 5:25 pm

Unfortunately, I saw this error again this afternoon. There were no issues when I updated earlier this morning.

Code: Select all

Getting listings for WGN America West [Channel 33]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '97525' from: {
  "97525": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Sat Jun 03, 2017 4:33 pm

This issue seems to have come back again. The failure rate has gone up pretty significantly in the past few days. I grab schedules twice a day, and I'm seeing a failure every other day or so.

Today it failed both the morning and afternoon updates. The most recent failure:

Code: Select all

Getting listings for TV Land (Pacific) [Channel 72]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '26046' from: {
  "26046": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Sat Jul 15, 2017 8:13 am

Still having this issue. Failure started yesterday and persists as of this morning.

Code: Select all

Getting listings for KFTLCD5 (KFTL-CD5) [Channel 28.5]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '104882' from: {
  "104882": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Sat Mar 24, 2018 7:26 am

This issue has returned again. Started yesterday morning, and persists as of today.

Code: Select all

Getting listings for KBCW [Channel 12]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '10345' from: {
  "10345": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.

GameGod
Posts: 60
Joined: Fri Aug 17, 2007 12:26 pm

Re: Invalid data returned from schedules/md5 endpoint

Post by GameGod » Wed Apr 17, 2019 4:37 pm

After over a year, this issue has re-surfaced again as of this morning, and persists even though the listing data seems to have been refreshed:

Code: Select all

Getting listings for TV ONE HD [Channel 740]
Error: Exception: System.IO.InvalidDataException: Unable to get response object for station id '61960' from: {
  "61960": []
} ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.

Post Reply