[GraphQL error]: Message: Internal error. Looks like something went wrong on our end

Topic summary

Main issue: Intermittent Shopify GraphQL failures returning “Internal error. Looks like something went wrong on our end,” affecting both app billing and product queries.

Details (app billing):

  • Error occurs when calling appSubscriptionCreate to obtain a confirmation/“subscription” URL.
  • Mutation includes two line items: one with appUsagePricingDetails (cappedAmount USD 10, terms) and one with appRecurringPricingDetails (price USD 10).
  • Error output shows Location/Path: undefined and a Request ID (42c634ef-798a-4734-b6d4-ee23d5c3b12c); the message notes to include this ID in support requests.

Details (product search):

  • Product queries filter by product_type (e.g., product_type:pret) and sometimes use OR (e.g., product_type:pret OR product_type:formal).
  • Behavior is inconsistent: the same query may work on one day and fail with the internal error on another.

Context/terms:

  • appSubscriptionCreate: GraphQL mutation to create an app subscription and return a confirmationUrl.

Status & next steps:

  • No confirmed cause or workaround identified in the thread.
  • Error suggests a server-side issue; users are seeking advice. Discussion remains open and unresolved.

Note: A code snippet (the mutation) is central to understanding the first issue.

Summarized with AI on February 28. AI used: gpt-5.

I encountered the error below.

[GraphQL error]: Message: Internal error. Looks like something went wrong on our end.
Request ID: 42c634ef-798a-4734-b6d4-ee23d5c3b12c (include this in support requests)., Location: undefined, Path: undefined

This error happens when I get subscription-url using code below.

export function RECURRING_CREATE(url) {
  return gql`
    mutation {
      appSubscriptionCreate(
          name: "normal plan"
          returnUrl: "${url}"
          test: true
          lineItems: [
          {
            plan: {
              appUsagePricingDetails: {
                  cappedAmount: { amount: 10, currencyCode: USD }
                  terms: "追加料金はかかりません"
              }
            }
          }
          {
            plan: {
              appRecurringPricingDetails: {
                  price: { amount: 10, currencyCode: USD }
              }
            }
          }
          ]
        ) {
            userErrors {
              field
              message
            }
            confirmationUrl
            appSubscription {
              id
              status
            }
        }
    }`;
}

Could you give me some advices, Thanks.

2 Likes

Hi! I’m using this query to fetch products based on the product type such as product_type:pret. In some cases, I’m using OR condition as well where the query becomes product_type:pret OR product_type:formal. With some filters, it’s returning the exact result but for some, it randomly returns Error: Internal error. Looks like something went wrong on our end. Like it may be working fine for a query one day and will start displaying the error on that same query the next day. Does anyone have any idea what might I be doing wrong or how can I resolve this issue.