Hi.
We’ve recently been encountering intermittent issues with the GraphQL Storefront API where if we retrieve the products with its variants included, we get the error: “Internal error. Looks like something went wrong on our end.”
Here is the GraphQL query:
{
products(first: 10) {
edges {
node {
id
title
descriptionHtml
variants(first: 6) {
edges {
node {
id
title
price {
amount
}
compareAtPrice {
amount
}
}
}
}
}
}
}
}
When removing the variants field in the query, it always returns the data with no errors. Sometimes the error rarely occurs, but there are instances when all requests would result to the same error. I assumed this could be due to the rate limits(?), but if I’m reading this correctly, Storefront API calls don’t have rate limits or add anything into it. (Source)
Insights or solutions would be valuable to us, so if there are any, please advise. Thank you!
Request Ids (will update this list as much as I can as we encounter it again):
- 56af1c0e-deeb-49ba-809e-49499561d29b-1744715382
- a6362ef6-7f79-4df2-9f22-9cbf095331f6-1744733103
- 286f878d-f3e2-4487-afde-b55a676c50bc-1744761298
- be18731b-40ce-49de-a05b-e2b79fc236b3-1744762269