Shopify GraphiQL App all requests receive invalid JSON error

Opened the GraphiQL app today and every command I enter returns the same error.

Here’s a basic query

query {
  products(first: 1) {
    edges {
      node {
        id
        title
      }
    }
  }
}

The response I’ve been receiving on all commands.

{
  "message": "The server responded with invalid JSON, this is probably a server-side error",
  "response": ""
}

3 Likes

API must be back online again. Queries and Documentation Explorer are now working.

Hello. Having the exact same problem with mine. It was correctly working until afternoon. Any solution?

I had to just wait it out unfortunately. Later in the day it started working again for me. I’ve since moved on to WooCommerce.

I have the same problem, graphiql doesnt work =(

“message”: “The server responded with invalid JSON, this is probably a server-side error”,

I’t still happening for me. Wish there was at least a warning in the graphql viewer saying that there have been problems in the past 48 hours. These forums are borderline unusable.

1 Like

Completely useless. The inconsistencies in trying to build anything of substance is wild. If you take the ApolloGraphQL courses (which are excellent!) you’ll see the Shopify doesn’t follow proper GraphQL schema standards in their documentation. I wanted to love it, but fact that I can easily build NextJS apps with GraphQL all day long, but can’t run basic queries here is just too frustrating. That’s why I stopped using Shopify.

1 Like

I’m currently running into this same issue. is the API down again?

It’s still not working for me either. Somehow when i deploy the queries go through but they cannot be tested. I’m stuck at figuring out the shopping cart, literally impossible without a testing environment…

Im still facing the problem. Asked partner support, no answer yet. if you guys solve it, let me know, but it looks as if the api were down, with the Documentation Explorer also not working.

I think you shouldn’t mark this as solved. The problem keeps arising and if it is marked as solved that might mean that Shopify personal won’t bother viewing the thread and addressing the underlying issue.

2 Likes

Unsolved! :grinning_face_with_smiling_eyes:

I don’t use Shopify anymore, but I hope they figure this out for the rest of you. Although, their recent acquisition of Remix has me intrigued.

1 Like

Same issue here. Only broken in the Graphql app. My actual queries are working, just can’t use the app to test. Tried reinstalling with no luck

1 Like

Hello again. I have reached support. They are aware of the problem and looking for a solution. Regards.

Thank you, hopefully this thread gets some visibility. It is an annoying problem. The GraphiQL tool is very useful for adhoc testing and one-off mutations

1 Like

It’s been down for almost 2 weeks…

This solved my problem. lol Shopify just doesn’t post here or what smh

From Shopify:
It appears that this is due to the current update made on the app. Here below are the following troubleshooting steps to perform :

  • Kindly try to clear out the installation data, and uninstall the app then re-install.

  • Clear out the existing data – that seems to result in a “Oauth error invalid_scope: The access scope is missing” failure.

  • They also provided this, ¨clearing the ‘state’ resolves the problem, i.e. it wasn’t some other issue. If we update the client-side to redirect using the x-shopify-api-request-failure-reauthorize-url header then I think it will have the same result. I think I’ve near got it working, just dealing with some app-bridge configuration¨.

I had a similar issue today but removing the app and reinstalling it seems to have resolved it.

1 Like

As Aaron_Kroontje has said uninstalling and reinstalling the app works to bring it back online. I would also recommend leaving a comment on why you are uninstalling it to let the devs know it has been bugging out.

Did you have a similar or the same problem? I uninstalled 3 times and didnt get the problem solved. They have an active technical problem which are solving, so its not me.