I'm not sure where you are making that request to, but the response you get doesn't look right. Can you share the full raw request and response including the endpoint you are hitting? Are you doing this with a cURL request in the console? Or some other way.
Can you try making the same cURL in a console window and see if it works?
Maybe it's none of my business, but I'm just passing through looking for answers to a different problem and I noticed this.
I have been using postman to test queries for some time now, and I don't know if it makes any difference what is sent via postman vs. what is sent via curl, but the following is what I have been sending, and I tried changing my settings to what the instructions say, and it does not work! I changed my settings back to what they were, and they work! ???
(I have never set the "Accept" header, not even once.)
Also, in my test apps, whether configuring apollo, axios, or whatever, I use those exact same settings and they still work.
Just thought I'd let y'all know. :)
I am facing the same problem when retrieving a single Order from GraphQL. The 80% of the time the response is ok with status 200 but the body is empty. The Shopify team told be they probably located the problem but they didn't solve it yet. I was enthusiast to switch from rest to graphql but now i am wondering if it was the right choise. Graphql api doesn't seem to be so stable yet.
I am facing the same issue with storefront apis, contacted shopify support, they asked to post the problem here. It was working perfectly fine till yesterday, today suddenly started giving empty response for all the apis. When I try to get the products from the api it returns the response like this. Not sure what I'm doing wrong as it worked before with the same request. Could someone please help. I am using this endpoint: https://(storename).myshopify.com/api/2019-10/graphql.json
It seems, that this still a problem: Currently I have observed similar behaviours with the customerAccessTokenCreate mutation - sometimes I get a valid json string with status 200 and sometimes I get an empty response with status code 415 (e.g., X-Request-ID: cc8b8897-b2e1-4aec-a78e-1eaa0cf41f7d).
Any updates on this topic?
Thank you, Jan.