Se observa error HTTP Status 404 - Not Found al consultar el estado de un lote usando el recurso /services/rest/{batchId}/status

Síntomas

Al tratar de consultar el estado de un lote se observa consistentemente un error 404 Not Found, e.g. :

[user@host ~]$ curl -I -u username -X GET https://sms.lanube.cl/services/rest/XXXXXXX/status Enter host password for user 'username': HTTP/1.1 404 Not Found Server: GlassFish Server Open Source Edition 4.1.2 X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 4.1.2 Java/Oracle Corporation/1.8) Pragma: No-cache Cache-Control: no-cache Expires: Wed, 31 Dec 1969 21:00:00 CLST Content-Language: Content-Type: text/html Date: Mon, 07 May 2018 19:37:22 GMT Content-Length: 1086 [user@host ~]$

Causa

A contar del 20 de Mayo de 2018 ha cambiado la jerarquía de servicios RESTful, acomodando así nuevas consultas.

Solución

Por favor verifique que sus servicios se encuentran ajustados de acuerdo a esta actualización, haciendo referencia al recurso /services/rest/batch/{batchId}/status o al recurso /services/rest/message/{messageId}/status, según corresponda.