Error 2201 getting schedules

Error 2201 getting schedules

Postby tabell3 » Thu Dec 04, 2014 3:30 pm

I received the following message while getting schedules for 11 out of 133 stations in my lineup:

{
"datetime": "2014-12-04T20:28:33Z",
"message": "The stationID you requested has been marked as deleted and will be purged.",
"code": 2201,
"serverID": "20140530.2",
"response": "ERROR",
"stationID": "11163"
}

Since the station IDs include Spike, VH1, TOON, and SYFY, I'm questioning whether this is a glitch/bug. I haven't seen a change to the mapping for my lineup.

Any help reducing my confusion will be greatly appreciated.

Tom
tabell3
 
Posts: 2
Joined: Thu Dec 04, 2014 3:03 pm

Re: Error 2201 getting schedules

Postby rkulagow » Thu Dec 04, 2014 5:31 pm

It's a glitch. In an attempt to fix the "12 days" issue

https://github.com/SchedulesDirect/JSON ... /issues/45

I introduced another bug which wasn't evident in my unit test. When I saw the number of deleted stations rise I fixed the bug, and schedules are rebuilding now. This particular bug shouldn't happen again.

I'll post another message here when things are back to normal.

In the meantime, if your code requests the station again, you'll probably get back a 7000 response:

https://github.com/SchedulesDirect/JSON ... nse#errors

so please make sure that your code honors the "retryTime" parameter.
rkulagow
SD Staff
 
Posts: 911
Joined: Tue Aug 14, 2007 3:15 pm

Re: Error 2201 getting schedules

Postby tabell3 » Thu Dec 04, 2014 5:34 pm

Thanks for the update. I'm already handling the 7000 response, so it should be smooth sailing (until the next bug).
tabell3
 
Posts: 2
Joined: Thu Dec 04, 2014 3:03 pm


Return to Developer

Who is online

Users browsing this forum: No registered users and 2 guests

cron