Public Transit API v3 Developer's Guide

Error Codes

Public Transit API v3 supports the following standard HTTP status error codes

If the HTTP Status Code is 200, the response body can contain the following error messages (see Message):

Error code Description
I4 Incorrect apiKey in the request. If you are using app_code/app_id combination, then an incorrect app_code or app_id in the request. For the available authentication options, see the Identity & Access Management Developer Guide.
SS0007 No results found
GW100 Wrong parameter type or parameter missing
GW0001 Routing was not possible
The following subcodes are available:
  • NO_COV: There is no transit coverage in the area
  • NO_STN_NEARBY: Nearby to the given address stations could not be found
  • DEP_ARR_TOO_CLOSE: Departure/Arrival are too near
GW0002 Backend failed to provide a response
GW0006 Unexpected error
GW0007 No support for this API in this area
K9360 Invalid Period

Error message response examples:

<?xml version='1.0' encoding='utf-8'?>
<Res serviceUrl="">
  <Message code="GW100" level="E">
    Parameter 'prod' out of range
<?xml version='1.0' encoding='utf-8'?>
<Res serviceUrl="">
  <Message code="GW0001" level="E" subcode="DEP_ARR_TOO_CLOSE">
    K895 - Departure/Arrival are too near.