[GraphQL Admin API Bug] Shop object

esquinas
New Member
1 0 0

Hello, I was writing a shop query with Postman and got internal server errors.

I have found the field that produces this by removing them one by one. Apparently Postman picked up the field from the schemas, somehow.

It fails even on the GraphiQL of the docs.

Query:

{
    shop {
        features {
            onboardingVisual
        }
    }
}

 Response:

{
  "errors": [
    {
      "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 14af88e2-86d7-484f-b641-f8f739027352 (include this in support requests).",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "requestId": "14af88e2-86d7-484f-b641-f8f739027352"
      }
    }
  ]
}

 

 

0 Likes
Jayvin
Shopify Partner
162 24 34

Hi,

Nothing to worry here, sometimes this error occurs

Internal error. Looks like something went wrong on our end

 

In such cases, do not panic! The error is on the other side that is shopify level. And if the error persists for like 1 hour or so, pick up your phone and call shopify support.

0 Likes
_JB
Shopify Staff
Shopify Staff
809 95 176

Hey @esquinas,

Thanks for reporting, I've been able to replicate as well. We'll get this in front of our product team for investigation.

In the meantime, if you need to determine whether a shop has onboarded you can use the shop.setupRequired field.

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog