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

214
Vistas
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
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