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.