"deploy" command fails with unexpected error

Topic summary

Users encountered a deployment failure when running the deploy command for Shopify apps. The error manifested as:

Error Details:

  • Partners GraphQL API returned HTTP 200 with “Unexpected system error” (code 500)
  • Stack trace pointed to graphql-request library issues

Environment:

  • Shopify CLI version 3.39.0
  • Node.js versions tested: v18 and v20.1.0
  • npm v9, Ruby v3.1

Resolution:
The issue resolved itself without user intervention, indicating it was a temporary problem on Shopify’s API side rather than a configuration or code issue. No specific fix or workaround was required.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Everything worked itself out. API problem on shopify side.