Avatar

HTML errors returned in JSON API

0

Starting Dec 14, 2018 10:40:28 PM UTC we started seeing HTML errors like the one below coming in sporadically as responses to the JSON API. Can you confirm this is a bug on your side you are working on? We have never seen non-JSON responses from your service before and aren't sure how to proceed. Thanks.

 

<html>
    <head>
        <title></title>
    </head>
    <body>
            <span><h1>Web Error<hr width=100% size=1 color=silver></h1>
            <h2>(0)</h2></span>
            <hr width=100% size=1 color=silver>
            Exception of type &#39;CheckmateServer.Web.HttpException&#39; was thrown.
            <p>
            MyGeotab
    </body>
</html>
Max Heinritz

Iniciar sesión para dejar un comentario.

2 comentarios

0
Avatar

Hi Max,

Could you create a support case referencing this post and my name if possible (Steve Hansen)? I'd like to capture as much detail as we can about the error.

Thanks

Steve Hansen 0 votos
0
Avatar

Hi Steve, thanks for the reply. The last time we saw the issue was Dec 18, 2018 9:54:18 AM UTC (about 9 hours ago). Our logging infrastructure is set up to log json errors with their request json, but our error parsing logic broke because of the HTML. So it's not easy to see which requests triggered these responses. If it starts happening again I will investigate further. In the meantime, seems like things are working. Thanks / good luck!

Max Heinritz 0 votos