Unable to get json response , getting only HTML response

Topic summary

Problema principal: al llamar al Admin API de Shopify para obtener pedidos, la solicitud devuelve estado de éxito pero el cuerpo de la respuesta llega como HTML en vez de JSON.

Detalles aportados:

  • Se intenta acceder a pedidos usando un endpoint tipo: [email removed]
  • La expectativa es recibir JSON, pero se recibe HTML.

Respuesta/estado actual:

  • Se pide compartir un ejemplo del HTML recibido para diagnosticar mejor.
  • Se sugiere como posible paso inicial borrar cookies de la aplicación usada para hacer la request.

Resultado:

  • No hay resolución aún; faltan datos (ejemplo de respuesta HTML) para identificar la causa.
Summarized with AI on February 26. AI used: gpt-5.2.

Hi,

We are trying to fetch orders from shopify. So we are calling admin API we are getting success status but we are getting Html responses. But we are expecting a JSON response. How can I get JSON response?

Following the way, we are requesting.

https://{apikey}:{password}@{hostname}/admin/api/{version}/orders.json

Hi @joseerengan

Could you please provide an example HTML response that you’re receiving? Without knowing anything else, I would also recommend clearing all cookies from the application that you are using to make the API request.