The Partners GraphQL API responded unsuccessfully with the HTTP status 200 and errors

Same error as https://community.shopify.com/c/shopify-apis-and-sdks/the-partners-graphql-api-responded-unsuccessfully-with-the-http/td-p/1926357

I started a new app with

npm init /app@latest

and tried to run

npm run dev

and got this error

The Partners GraphQL API responded unsuccessfully with the HTTP status    │
│  200 and errors:                                                             │
│                                                                              │
│    [                                                                         │
│    {                                                                         │
│      "message": "Unexpected system error",                                   │
│      "extensions": {                                                         │
│        "code": "500"                                                         │
│      }                                                                       │
│    }                                                                         │
│  ]                                                                           │
│                                                                              │
│                                                                              │
│  To investigate the issue, examine this stack trace:                         │
│    at (graphql-request/src/index.ts:410)                                     │
│      throw new ClientError(                                                  │
│    at step (graphql-request/dist/index.js:63)                                │
│      op = body.call(thisArg, _);                                             │
│    at next (graphql-request/dist/index.js:44)                                │
│      function verb(n) { return function (v) { return step([n, v]); }; }      │
│    at fulfilled (graphql-request/dist/index.js:35)                           │
│      function fulfilled(value) { try { step(generator.next(value)); } catch  │
│       (e) { reject(e); } }                                                   │
│    at processTicksAndRejections (node:internal/process/task_queues:96)

Attempted Debugs:

  1. Created a new app with npm init @shopify/[email removed] to see if it was just my app breaking, new demo app works (without theme extension).
  2. Tried a npm run dev – --reset, closing out terminal, starting a new terminal, restarting comp, tried it on a different development store, still hitting the error.

Github issue:

https://github.com/Shopify/cli/issues/1700

6 Likes

Same issue, must be shopify wide

2 Likes

I’m getting the exact same error!

1 Like

Same here. Not seeing any outages reported but this seems to be network wide.

https://www.shopifystatus.com/

Hello!!!
I get the same error

I have the same error!

Same error when trying a ‘shopify theme dev’ (with or without additional flags for theme and store). Was working absolutely fine earlier today…

The introspection endpoint returned a 502: │
https://accounts.shopify.com/oauth/introspection

1 Like

this is fixed as per https://github.com/Shopify/cli/issues/1700

I’d call that a workaround: Logout and try again.

npm run shopify auth logout
npm run dev

I’m getting kind of the same error again with the latest CLI

The Partners GraphQL API responded unsuccessfully with errors:

[
  {
    "message": "Unexpected system error",
    "extensions": {
      "code": "500"
    }
  }
]

Request ID: e7d7902b-9675-49da-8c03-3b287c8be16e-1711421656

To investigate the issue, examine this stack trace:
  at makeRequest (graphql-request/src/index.ts:441)
    throw new ClientError(
  at processTicksAndRejections (node:internal/process/task_queues:95)
  at async debugLogResponseInfo (@shopify/cli-kit/src/private/node/api.ts:27)
    response = await request
  at (Users/alexis/Projects/Repos/bundlejet/node_modules/@shopify/cli-kit/dist/public/node/api/graphql.js:22)
  at (Users/alexis/Projects/Repos/bundlejet/node_modules/@shopify/cli-kit/dist/public/node/metadata.js:84)