Sending a request with that URI returns the following error response: { "$type": "Tfl.Api.Presentation.Entities.ApiError, Tfl.Api.Presentation.Entities", "timestampUtc": "2022-01-15T19:42:13.5895973Z", "exceptionType": "EntityNotFoundException", "httpStatusCode": 404, "httpStatus": "NotFound", "relativeUri": "/Line/piccadilly/Timetable/940GZZLUHSD/inbound", "message": "Resource not found: http://api:8001/Line/piccadilly/Timetable/940GZZLUHSD/inbound" }
This post on the forum (How do I get timetable info? - #14 by PickleRick) shows how to get past the error, but the disambiguation URI should really be returned correctly by the API (or at least properly documented), so that it could be reused immediately. I thought that instead of reviving a thread that is more than two years old would be better.
I would suggest that you treat the information that comes back in these error states as “pointers for developers” as they are undocumented in terms of the documentation.
Basically, don’t trust them to provide user information, just use them to look for the right API or right parameters to use.
hi @antglb - as mentioned in the thread below, I’ve raised a bug with the dev team to look into this. It may be a while to fix however due to competing priorities (Elizabeth Line etc). The correct format to call is mentioned in that thread.