{"id":2844,"date":"2023-12-22T22:31:33","date_gmt":"2023-12-22T22:31:33","guid":{"rendered":"https:\/\/developers.maplink.global\/error-messages-tracking-api\/"},"modified":"2024-03-04T20:51:44","modified_gmt":"2024-03-04T20:51:44","slug":"error-messages-tracking-api","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/en\/error-messages-tracking-api\/","title":{"rendered":"Error Messages &#8211; Tracking API"},"content":{"rendered":"\n<p>The following table shows all the error messages that can be returned by the API in the response <em>body<\/em>:<\/p>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Error code<\/strong><\/td><td><strong>Message<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td><code>Validation failed<\/code><\/td><td><code>mainLocation lat and lon cannot be null<\/code><\/td><td>The parameters <code>\"lat\"<\/code> and <code>\"lon\"<\/code> at source and destination cannot be null.<\/td><\/tr><tr><td><code>validation fail<\/code><\/td><td><code>to fill the params of the object \u2018driver\u2019, the status must be set as \u2018ON_THE_WAY<\/code><\/td><td>To update the driver&#8217;s coordinates, the order status must be <code>ON_THE_WAY<\/code>.<\/td><\/tr><tr><td><code>validation fail<\/code><\/td><td><code>color must be a valid hexadecimal value, like #000000\"<\/code><\/td><td>The parameter <code>color<\/code> only accepts hexadecimal values, such as #000 or #000000.<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Table of 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: Error code Message Description Validation failed mainLocation lat and lon cannot be null The parameters &#8220;lat&#8221; and &#8220;lon&#8221; at source and destination cannot be null. validation fail to fill the params of the object \u2018driver\u2019, the [&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":[171],"tags":[],"class_list":["post-2844","post","type-post","status-publish","format-standard","hentry","category-tracking-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2844","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=2844"}],"version-history":[{"count":1,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2844\/revisions"}],"predecessor-version":[{"id":2845,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2844\/revisions\/2845"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/media?parent=2844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/categories?post=2844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/tags?post=2844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}