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

293
Vistas
i am facing this error in Node.js 'INVALID_HTTP_TOKEN' how to fix it?

I was learning to make a basic server in Node.js but I face this error every time I try to run my server I have provided an image of my code and an image of the error as well please help if you can

Code This is code image

Error This is error image

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The proper line of code should be:

res.writeHead(200, { "Content-type": "text/html" });

According to the error shown, it looks like you just wrote

"content type"

instead of

"Content-type"

about 4 years ago · Juan Pablo Isaza Denunciar
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