Errors in Routehappy API Responses

All endpoints within the Routehappy API return a unified error structure. The error contains the request UUID, so that it can be used in tracing specific issues you might be having with requests.

Copy
Copied
{
    "uuid": "a96beb8a-01e9-4f44-9ce9-b4e062bb3761",
    "href": "",
    "title": "`ReqItinerarySegment`'s parameter `dep` does not match its required pattern - passed value [DN] at line 7 column 35"
}
Error structure

The example above indicates how the API's error response looks. However, due to the large tech stack used in the API, some components might return their own error message. If you are getting a different error response structure, it is most likely because some component other than the API is returning it.