storeAvailability returns INTERNAL_SERVER_ERROR on Bundle Products

Requesting storeAvailability(first: 1) on a bundle product’s variant in a Storefront API query makes the API fail or return no products.

query Product {
product(id: “gid://shopify/Product/7844479205566”) {
id
title
variants(first: 5) {
nodes {
id
title
storeAvailability(first: 1) {
nodes {
available
location { name }
}
}
}
}
}
}

This returns the error
{
“errors”: [
{
“message”: “Internal error. Looks like something went wrong on our end.\nRequest ID: acbbff44-58aa-42a9-9041-a11c3787e900-1770051186 (include this in support requests).”,
“extensions”: {
“code”: “INTERNAL_SERVER_ERROR”,
“requestId”: “acbbff44-58aa-42a9-9041-a11c3787e900-1770051186”
}
}
]
}

Hi @Kyle_Sollenberger! Thanks for the detailed report and the request ID - that made tracking this down much easier.

This was caused by a recent internal change that didn’t handle bundle product variants correctly when resolving the storeAvailability field. The team identified the issue and has already rolled back the problematic code path, so your query should work now.

If you retry with the same query, you shouldn’t see the INTERNAL_SERVER_ERROR anymore. Let me know if you’re still hitting issues after retrying!