Getting 404 error for Graphql request

Topic summary

Issue: 404 Not Found errors on Shopify GraphQL API requests for a subset of shops; the majority of shops return expected data.

Context: The app’s OAuth scopes and access tokens appear correct. As evidence, the same shops can successfully call the Shopify Payments Transactions REST API, indicating authentication is functioning.

Details: Two x-request-id headers from failed GraphQL requests were provided for tracing/debugging:

  • f441e8e0-3344-4e5d-ac97-1541561a5752-1723130977
  • 840b41c4-48b3-4a8a-baaa-b924525ecdc9-1723128606

Clarifications:

  • GraphQL: an API query language/endpoint used to fetch structured data.
  • Scopes/access tokens: permissions and credentials used to authenticate API calls.
  • x-request-id: Shopify’s request trace identifier for support/log correlation.

Status: Unresolved. Cause not identified in the thread. The poster is requesting assistance and is open to providing more information.

No actions/decisions recorded. No attachments or code provided.

Summarized with AI on December 22. AI used: gpt-5.

Hello,

We are encountering a 404 Not Found error while making GraphQL requests. This issue is occurring for a few shops, while for most, the requests are successful, and we receive the expected data.

For the shops experiencing the issue, we have verified that we have the correct scopes and access tokens, as we can successfully make requests to the Shopify Payments Transactions REST API.

Below is the x-request-id response header for one of the failed requests:

  • f441e8e0-3344-4e5d-ac97-1541561a5752-1723130977

  • 840b41c4-48b3-4a8a-baaa-b924525ecdc9-1723128606

Thank you for your assistance !

Let me know if you need any further adjustments.

1 Like