Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Internal Server Error for DiscountCustomerSavedSearches

davidjweber
Visitor
1 0 0

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"
      }
    }
  ]
}
Replies 0 (0)