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

283
Vistas
Apollo graphql service on AWS Lambda Cannot read property 'Accept' of null

Apollo graphql service on AWS Lambda Cannot read property 'Accept' of null

{
"errorType": "TypeError",
"errorMessage": "Cannot read property 'content-type' of undefined",
"stack": [
    "TypeError: Cannot read property 'content-type' of undefined",
    "    at fileUploadHandler (/var/task/node_modules/apollo-server-lambda/dist/ApolloServer.js:144:50)",
    "    at Runtime.handler (/var/task/node_modules/apollo-server-lambda/dist/ApolloServer.js:167:13)",
    "    at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]

}

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

I believe this has to do with the test that you are sending to AWS Lambda. You are sending the default request most likely as when I did that I got the same error. Try testing your application using apollo client.

over 4 years ago · Santiago Trujillo Denunciar

0

There is a breaking change in the apollo server. You need to write the file uploads line. https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md#v230

over 4 years ago · Santiago Trujillo 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