Unable to get json response , getting only HTML response

1 0 0



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.







Reply 1 (1)

Shopify Staff (Retired)
267 40 51

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. 



To learn more visit the Shopify Help Center or the Community Blog.