(gtfs, gtfs-rt, gbfs, mds) is not a valid FeedSpecTypes #414
-
Hello, I am trying to get up and running with Transitland's API. When I try to fetch from The documentation for feeds clearly states that this should be possible, and the 500 indicates some type of server-side problem. Is this some type of error on my end? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks for reporting this problem. For the time being, please use all-caps for the spec value. For example: We are looking into this and will provide another update. |
Beta Was this translation helpful? Give feedback.
-
Thank you. The work that you people do is very awesome. |
Beta Was this translation helpful? Give feedback.
We have revised the relevant code so that both
?spec=GTFS
and?spec=gtfs
should now work.(Users of the Transitland v2 GraphQL API will recognize that the all-caps version of GTFS is required because the GraphQL API is strongly typed. Behind the scenes, the REST API uses the GraphQL API, and so it was exposing this requirement. We have changed this so that the REST API is case insensitive while the GraphQL API will remain case sensitive.)