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

213
Views
bad response 400 by graphql with strapi

I am using graphql with strapi to fetch data, but it says bad request.

I have already tested the code in development a thousand times it worked properly. I have deployed it on aws. Even some requests of the graphql were valid but suddenly it started showing me this.

Technologies related in this scenario is nginx, aws, typescript, strapi, graphql, axios, certbot

This request was made internally(localhost) with out touching the external ports.

 response: {     status: 400,
   statusText: 'Bad Request',
     headers: {
       vary: 'Origin',
       'strict-transport-security': 'max-age=31536000; includeSubDomains',
       'x-frame-options': 'SAMEORIGIN',
       'content-type': 'application/json',
       'content-length': '1325',
      'x-powered-by': 'Strapi <strapi.io>',
       'x-response-time': '7ms',
       date: 'Sat, 27 Nov 2021 17:52:22 GMT',
       connection: 'close'
       },
       config:{
        url: 'http://localhost:1337/graphql',
        method: 'post',
        data:{data:"somedata here.."}
        }
       ........
 }

This is the response I am getting enter image description here

This is the header I am sending enter image description here

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