Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

206
Vistas
XHR having no status and statusText 'error'

I have a generic error handler, when the response from the service layer in not JSON

...
else if (xhr.status)
  growl($.i18n('http_error',xhr.status))
else if (xhr.statusText)
  growl($.i18n('network_error',xhr.statusText))
...

I've got a bunch of screenshots showing, that the second if is activated, so I have XHR with an empty status, and statusText having content 'error'.

I'm interpreting such cases and a network connection error, but is my premise correct? In what circumstances browser (the screenshots are from Chrome) gives back XHR with such constellation of values? Is this only when the network connection was broken? The reporters claim having no problems with their internet connection, but it's not something I can verify.

There is no particular pattern when the error occurs, other then it's 'somewhere in the middle' (so anyway, random).

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda