{"id":2575,"date":"2023-12-15T13:48:41","date_gmt":"2023-12-15T13:48:41","guid":{"rendered":"https:\/\/developers.maplink.global\/error-messages-trip\/"},"modified":"2024-05-20T18:09:39","modified_gmt":"2024-05-20T18:09:39","slug":"error-messages-trip","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/en\/error-messages-trip\/","title":{"rendered":"Error messages &#8211; Trip"},"content":{"rendered":"\n<p>The following table shows all the error messages that can be returned by the API in the response body:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Mensagem<\/strong><\/td><td><strong>Descri\u00e7\u00e3o<\/strong><\/td><\/tr><tr><td><code>No path found due to maximum nodes exceeded<\/code><\/td><td>Occurs if the route is too long to be processed or if it is not possible to find a path between any of the points. Example of a case: Point A is a one-way dead-end road.<\/td><\/tr><tr><td><code>Timeout occurred while calculating route<\/code><\/td><td>The route planner was unable to process the route within the timeout.<\/td><\/tr><tr><td><code>Bad Request while calling routing engine<\/code><\/td><td>The request has errors and could not be processed.<\/td><\/tr><tr><td><code>Error while processing route<\/code><\/td><td>An unexpected error occurred in the route planner while processing the route.<\/td><\/tr><tr><td><code>Specify at least 2 points<\/code><\/td><td>It is necessary to inform more than one point.<\/td><\/tr><tr><td><code>Error occurred while calculating route<\/code><\/td><td>The route planner was unable to take the desired route.<\/td><\/tr><tr><td><code>Cannot find point<\/code><\/td><td>Some of the points have no coordinates or incomplete coordinates.<\/td><\/tr><tr><td><code>{callbackValue} does not have a valid value. Example of allowed values: http:\/\/www.foo.br, https:\/\/www.foo.br\u2026<\/code><\/td><td>URL provided in <code>callback<\/code> does not have a valid format<\/td><\/tr><tr><td><code>toll.vehicleType does not have a valid value<\/code><\/td><td>Value at <code>vehicleType<\/code> not supported. <br>The possible values are:<br><code>MOTORCYCLE<br>CAR<br>CAR_WITH_THREE_SIMPLE_AXLES<br>CAR_WITH_FOUR_SIMPLE_AXLES<br>BUS_WITH_TWO_DOUBLE_AXLES<br>BUS_WITH_THREE_DOUBLE_AXLES<br>BUS_WITH_FOUR_DOUBLE_AXLES<br>BUS_WITH_FIVE_DOUBLE_AXLES<br>TRUCK_WITH_NINE_DOUBLE_AXLES<br>TRUCK_WITH_TWO_SINGLE_AXIS<br>TRUCK_WITH_TWO_DOUBLE_AXLES<br>TRUCK_WITH_THREE_DOUBLE_AXLES<br>TRUCK_WITH_FOUR_DOUBLE_AXLES<br>TRUCK_WITH_FIVE_DOUBLE_AXLES<br>TRUCK_WITH_SIX_DOUBLE_AXLES<br>TRUCK_WITH_SEVEN_DOUBLE_AXLES<br>TRUCK_WITH_EIGHT_DOUBLE_AXLES<br>TRUCK_WITH_TEN_DOUBLE_AXLES<\/code><\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Table with possible error messages returned by the API<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The following table shows all the error messages that can be returned by the API in the response body: Mensagem Descri\u00e7\u00e3o No path found due to maximum nodes exceeded Occurs if the route is too long to be processed or if it is not possible to find a path between any of the points. Example [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[161],"tags":[],"class_list":["post-2575","post","type-post","status-publish","format-standard","hentry","category-trip-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/comments?post=2575"}],"version-history":[{"count":3,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2575\/revisions"}],"predecessor-version":[{"id":2919,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2575\/revisions\/2919"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/media?parent=2575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/categories?post=2575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/tags?post=2575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}