DLR timetable endpoint not recognizing Bank Station

Hello,

This endpoint for the DLR routes:

https://api.tfl.gov.uk/Line/Mode/dlr/Route

Gives, among others, this route:

{‘$type’: ‘Tfl.Api.Presentation.Entities.MatchedRoute, Tfl.Api.Presentation.Entities’,
‘name’: ‘Bank DLR Station - Lewisham DLR Station’,
‘direction’: ‘outbound’,
‘originationName’: ‘Bank DLR Station’,
‘destinationName’: ‘Lewisham DLR Station’,
‘originator’: ‘940GZZDLBNK’,
‘destination’: ‘940GZZDLLEW’,
‘serviceType’: ‘Regular’,
‘validTo’: ‘2024-12-23T00:00:00Z’,
‘validFrom’: ‘2024-07-06T00:00:00Z’}

However, when I tried to get the timetable for that route like this:

https://api.tfl.gov.uk/Line/dlr/Timetable/940GZZDLBNK/to/940GZZDLLEW

I get:

“Could not find a matching ICS code for the Naptan Id 940GZZDLBNK. Argument name: fromNaptanId.”

This used to been working until about 2 weeks ago - any help much appreciated!

Thanks for reporting this issue.

Looks like it’s affecting our website, too :thinking::
https://tfl.gov.uk/dlr/timetable/dlr?FromId=940GZZDLBNK&fromText=Bank+DLR+Station&toText=Lewisham+DLR+Station&ToId=940GZZDLLEW

hi both,

I think this relates to the issues mentioned in Problems with /Line/Route/Sequence 1/7/2024 to 31/12/2024 - #11 by nickp - we’re working on promoting a data fix now.

Many thanks,
James

1 Like