7 train data present in json but missing from protobuf feed?

15 views
Skip to first unread message

Keenan Thompson

unread,
8:54 AM (14 hours ago) 8:54 AM
to mtadeveloperresources
Hello,

I'm relatively new to using this API, but this seems like a pretty blatant bug unless I'm totally misunderstanding something. The 7 train data is almost always missing from the binary protobuf feed. Pulling the protobuf endpoint returns 0 trips for the 7 train, while lines 1-6 and GS return normally. I've seen the data appear in the protobuf feed only a handful of times in the past day or so that I've tried, out of hundreds of requests.

Endpoints:
- Protobuf: https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs
- JSON: https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs.json

Steps to reproduce:
1. Fetch both the protobuf and .json endpoints at the same time.
2. Check the trip_update entities for route_id 7.
3. The protobuf feed will usually have 0 entities for the 7 train, while the json feed will have many. All other trains (1-6) match perfectly between the two feeds.

Is the 7 train supposed to be in this feed (like it is in the JSON version)?

Thanks,
Keenan


Wilson Prieve

unread,
10:02 AM (12 hours ago) 10:02 AM
to mtadeveloperresources
Hi Keenan

I'm experiencing this same issue - before this weekend the (7) train was in this feed and behaved the same as lines 1-6. I've observed trips still occasionally appearing, but this is not the normal behavior - and many transit apps list active 7 trips as scheduled or cancelled. I already reported this here yesterday so hopefully we'll learn more soon.

Best,
Wilson

Shen-Cruz, Dillon

unread,
2:14 PM (8 hours ago) 2:14 PM
to mtadevelop...@googlegroups.com
Hi all, thank you for your patience. At this time, it appears we were able to diagnose the issue and restore the 7 train realtime data in the GTFS-RT protobuf feed. Please feel free to reply to this thread if you continue seeing issues with the 7.

Dillon Shen-Cruz
Product Manager, Customer Experience
Metropolitan Transportation Authority

--
You received this message because you are subscribed to the Google Groups "mtadeveloperresources" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtadeveloperreso...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mtadeveloperresources/8116af9f-fc23-4e10-b4a7-36aef1746845n%40googlegroups.com.
Confidentiality Note: This e-mail, and any attachment to it, may contain privileged and confidential information and is intended for the use of the individual(s) or entity named on the e-mail. Unauthorized disclosure of this message is prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and destroy this message and all copies thereof, including all attachments.
Reply all
Reply to author
Forward
0 new messages