We are unable to get the timetable for 521 via Unified API:
Here is an example of request we are using to get the data for this route:
This is the URL of request for timetable data, originating from Stop 490000254H - Waterloo Station / Tenison Way:
Unfortunately, there are currently a lot of 500 (and other) errors in /Line/Timetable. See here for more detail. We’re waiting on a response from the Devs.
Thanks, by the way, @kiki (and @nathanodong) for showing me that there is actually a response text with a code 500, had not realised this.
The error 500s are a bigger issue, I think. Sometimes it works, sometimes it doesn’t. It’s quite inconvenient having to make multiple requests to get it to work.
Hi @nathanodong ,
Following your suggestion that the 500 error can be resolved by retrying, I have rewritten my loader to be more aggressive. My low-level routine was already on try-3-times, but the upper-level one is now set to keep retrying as long as it makes progress in each pass.
The update dated 18/8/2020 gave the following results:
Total no of requests to be made: 1783
Outstanding (i.e. error 500) after each pass:
1st 268
2nd 127
3rd 16
4th 2
5th 0
@jamesevans - I have the details as to which requests were causing the problems, if you need them
This is a weird issue. Presumably the official TfL website uses the same feed? It works 100% of the time there but accessing the endpoint directly doesn’t…