Unable to fetch items with Storefront API

I keep getting this error on our production website, but not sure what is causing the issue as the error message if vague. Can I ask what might be causing this issue? It was working fine a week ago.

{
    "errors": [
        {
            "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: c763fb8f-b61e-493e-8e24-b3e720f6eb16-1745504030 (include this in support requests).",
            "extensions": {
                "code": "INTERNAL_SERVER_ERROR",
                "requestId": "c763fb8f-b61e-493e-8e24-b3e720f6eb16-1745504030"
            }
        }
    ]
}

This is my full query:

const productsQuery = `
    query Products {
      products(first: 250) {
        edges {
          node {
            id
            title
            description
            handle
            tags
            priceRange {
              minVariantPrice {
                amount
              }
            }
            images(first: 1) {
              edges {
                node {
                  url
                  altText
                }
              }
            }
            variants(first: 40) {
              edges {
                node {
                  id
                  title
                  selectedOptions {
                    name
                    value
                  }
                }
              }
            }
          }
        }
      }
    }

Did you try to use Postman or Insomnima to query it? or which API version are you using? I just tried query at version 2025-04 still return normally

It’s the 2024-01 version! And yes, it works sporadically – so now it’s working again. But for hours at a time it will return the same error for no specific reason… :frowning:

Maybe your store have too many products so query timeout?

Hi @Eryn_Seo whether problem like this Internal error. Looks like something went wrong on our end - #3 by gustavorino ?

Hi @Eryn_Seo

Recommend using the latest version of API

Hey @Eryn_Seo and all :waving_hand: - just following up here.

I took a look at the request ID Eryn shared in our logs here, and from what I can tell the error message does look similar to what happens on our end when too many resources are being requested for the return response. The initial query there is a little on the larger side (we do generally recommend paginating through response objects if you do anticipate you’ll be making frequent larger queries, a bit more info here: Paginating results with GraphQL), so my suspicion is that’s what caused the issue here.

I can’t say for sure if that’s what’s happening there and since the issue seemed to have resolved itself, it could have just been an intermittent issue. That said, if you folks do see this pop up again, can you just ping me here/share another example request and we’ll take a look? I’ll make a note on my end so that we can track this if the issue occurs again - thanks!

Hi all,

I’m experiencing frequent internal server errors when querying the API. I’ve recently updated my integration to the 2025-04 API version and restricted my queries to the first 10 products, yet I continue to encounter these errors.

Here are two recent error messages:

  • “Internal error. Looks like something went wrong on our end. Request ID: 3fd448cf-33b1-499f-bcff-4f2ecb4dcafd-1745680257”
  • “Internal error. Looks like something went wrong on our end. Request ID: 49b463af-b2e3-4bcb-95d4-095900809771-1745680504”

Currently, my store has only 4 active products, so exceeding limits shouldn’t be an issue. However, the error seems to occur over 80% of the time, significantly impacting reliability.

I’ve attached a screenshot of my product list for reference. Could you please check the logs again to identify the root cause?

Thank you for your assistance!

Hi Alan, can I bother you for a follow-up here? Our website is down half the time, and most customers are unable to shop as there are no items to see.

Hey @Eryn_Seo - thanks for following up on this and for the new request IDs - it looks like it’s the same error that we were seeing before.

My current thinking is that this could potentially be an issue on our end, especially since you mentioned that you have few items in the shop. I’ll touch base with some colleagues internally and do some more digging into this then loop back with you once I have more info/next steps to share here - thanks for waiting on my reply here too - really appreciate it!