{"id":2450,"date":"2023-12-22T22:31:33","date_gmt":"2023-12-22T22:31:33","guid":{"rendered":"https:\/\/developers.maplink.global\/mensajes-de-error-api-de-seguimiento\/"},"modified":"2024-02-26T17:08:06","modified_gmt":"2024-02-26T17:08:06","slug":"mensajes-de-error-api-de-seguimiento","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/es\/mensajes-de-error-api-de-seguimiento\/","title":{"rendered":"Error Messages &#8211; Tracking API"},"content":{"rendered":"\n<p>La siguiente tabla muestra todos los mensajes de error que puede devolver la API en el <em>body<\/em> de la respuesta:<\/p>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>C\u00f3digo de error<\/strong><\/td><td><strong>Mensaje<\/strong><\/td><td><strong>Descripci\u00f3n<\/strong><\/td><\/tr><tr><td><code>Validation failed<\/code><\/td><td><code>mainLocation lat and lon cannot be null<\/code><\/td><td>Los par\u00e1metros <code>\"lat\"<\/code> y <code>\"lon\"<\/code> en origen y destino no pueden ser nulos.<\/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>Para actualizar las coordenadas del conductor, el estado del pedido debe ser <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>El par\u00e1metro <code>color<\/code> s\u00f3lo acepta valores hexadecimales, como #000 o #000000.<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Tabla de posibles mensajes de error devueltos por la API<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>La siguiente tabla muestra todos los mensajes de error que puede devolver la API en el body de la respuesta: C\u00f3digo de error Mensaje Descripci\u00f3n Validation failed mainLocation lat and lon cannot be null Los par\u00e1metros \u00ablat\u00bb y \u00ablon\u00bb en origen y destino no pueden ser nulos. validation fail to fill the params of 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":[158],"tags":[],"class_list":["post-2450","post","type-post","status-publish","format-standard","hentry","category-tracking-es"],"acf":[],"_links":{"self":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/comments?post=2450"}],"version-history":[{"count":3,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2450\/revisions"}],"predecessor-version":[{"id":2467,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2450\/revisions\/2467"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/media?parent=2450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/categories?post=2450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/tags?post=2450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}