A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am getting an internal server error when using Shopify's graphql admin api to get information on a discount code. Here is my query:
{
codeDiscountNodeByCode(code: "TEST") {
id
codeDiscount {
__typename
... on DiscountCodeBasic {
customerSelection {
... on DiscountCustomerSavedSearches {
savedSearches {
id
}
}
}
}
}
}
}
And here is the response:
{
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: b327cdec-7913-4ed2-acc1-4e5194c6fb72 (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "b327cdec-7913-4ed2-acc1-4e5194c6fb72"
}
}
]
}