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:
|
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
</Message>
</Res>
<?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.
</Message>
</Res>