Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

290
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!