Getting 500 on Storefront API Request.

Getting 500 on Storefront API Request.

chetanverma
Shopify Partner
1 0 0

While Making Graphql Request from my Next.js Application
I am getting this error.

not sure what went wrong?

GraphQL Request Error: ClientError: Internal error. Looks like something went wrong on our end. Request ID: fe329315-3d43-44bf-b75d-d516a3cd86e3-1733218749 (include this in support requests).: {"response":{"errors":[{"message":"Internal error. Looks like something went wrong on our end.\nRequest ID: fe329315-3d43-44bf-b75d-d516a3cd86e3-1733218749 (include this in support requests).","extensions":{"code":"INTERNAL_SERVER_ERROR",


Query -> 

  query getProducts($first: Int = 10, $query: String) {
    products(first: $first, query: $query) {
      pageInfo {
        hasNextPage
        hasPreviousPage
      }
      edges {
        node {
          title
          totalInventory
          handle
          tags
          category {
            name
          }
        }
      }
    }
  }

 

Reply 1 (1)

ltsSmitty
Visitor
1 0 0

I'm having the same issue, and it's with your product `category` field. Remove that and you'll not have the issue; unfortunately it's what I'm looking for.