appSubscriptionCreate on a live application - Internal Server Error GraphQLI

hmg23
New Member
5 0 0

I'm trying to create an AppUsage subscription with an app I just launched and I'm getting an Internal Server Error.

 

My request trace is:

{"errors":[{"message":"Internal error. Looks like something went wrong on our end.\nRequest ID: 5f2222b6-3bb0-4d59-9b96-4cd978cd2bca (include this in support requests).","extensions":{"code":"INTERNAL_SERVER_ERROR","requestId":"5f2222b6-3bb0-4d59-9b96-4cd978cd2bca"}}]}

I've set the test flag to false.

 

My mutation looks like this:

mutation {
      appSubscriptionCreate(
          name: "Name of Useage Plan"
          returnUrl: "${process.env.HOST}"
          trialDays: 0
         test: false
          lineItems: [
          {
            plan: {
              appUsagePricingDetails: {
                  cappedAmount: { amount: 10000, currencyCode: USD }
                  terms: "Billing for your useage of the API"
              }
            }
          }
          ]
        ) {
            userErrors {
              field
              message
            }
            confirmationUrl
            appSubscription {
              id
              lineItems {
                id
              }
            }
        }
    }`
 

It worked fine in test and only seems to be happening on live stores.

0 Likes
Shakeel_Ahmad_
New Member
3 0 0

{"errors":[{"message":"Internal error. Looks like something went wrong on our end.\nRequest ID: e33b0014-c7d8-407a-94bc-be062e5dd6de (include this in support requests).","extensions":{"code":"INTERNAL_SERVER_ERROR","requestId":"e33b0014-c7d8-407a-94bc-be062e5dd6de"}}]}

Error comes on test store ...

0 Likes