Shopify Products Fragments API Issue
Problem Description
We are facing an issue when requesting product data for around 100 containerIds for a client from Shopify. The GraphQL nodes query consistently returns an Internal Server Error. This is blocking our ability to fetch product details at scale.
We need clarification and solutions on the following points:
Why are we receiving this Internal Server Error?
What is the recommended solution or best practice to handle this issue?
Request Details
Request Headers
X-Shopify-Access-Token: shpat_[REDACTED]
Content-Type: application/json
User-Agent: PostmanRuntime/7.49.1
Accept: /
Postman-Token: [REDACTED]
Host: [REDACTED]
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 6377
Request Body
query: "query Products($ids: [ID!]!) {
nodes(ids: $ids) {
… on Product {
variantsCount{
count
}
id
title
vendor
productType
description
descriptionHtml
handle
tags
templateSuffix
status
seo {
title
description
}
featuredImage {
id
originalSrc
transformedSrc
}
images(first: 100) {
edges {
node {
id
originalSrc
transformedSrc
}
}
}
publishedAt
createdAt
updatedAt
publishedOnCurrentPublication
variants(first: 100) {
edges {
node {
id
title
position
sku
price
compareAtPrice
inventoryQuantity
barcode
inventoryPolicy
taxable
createdAt
updatedAt
image {
id
originalSrc
transformedSrc
}
selectedOptions {
name
value
optionValue {
id
}
}
inventoryItem {
id
tracked
requiresShipping
measurement {
id
weight {
unit
value
}
}
inventoryLevels(first: 200) {
edges {
node {
id
quantities(names: [“available”]) {
name
quantity
}
updatedAt
location {
id
fulfillmentService {
handle
serviceName
}
}
}
}
}
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
},
options {
id
name
position
values
}
}
}
}"
operationName: null
variables: “{
“ids” :[
“gid://shopify/Product/9089083932896”,
“gid://shopify/Product/9088500007136”,
“gid://shopify/Product/9088936149216”,
“gid://shopify/Product/9089305149664”,
“gid://shopify/Product/9088748454112”,
“gid://shopify/Product/9089078264032”,
“gid://shopify/Product/9089232208096”,
“gid://shopify/Product/9089013252320”,
“gid://shopify/Product/9089295745248”,
“gid://shopify/Product/9088491815136”,
“gid://shopify/Product/9089114210528”,
“gid://shopify/Product/9089217560800”,
“gid://shopify/Product/9089318519008”,
“gid://shopify/Product/9089320026336”,
“gid://shopify/Product/9088967934176”,
“gid://shopify/Product/9089222869216”,
“gid://shopify/Product/9089214284000”,
“gid://shopify/Product/9088736428256”,
“gid://shopify/Product/9089285816544”,
“gid://shopify/Product/9089375109344”,
“gid://shopify/Product/9089304854752”,
“gid://shopify/Product/9089021182176”,
“gid://shopify/Product/9089319993568”,
“gid://shopify/Product/9089313734880”,
“gid://shopify/Product/9089281327328”,
“gid://shopify/Product/9088507248864”,
“gid://shopify/Product/9088935592160”,
“gid://shopify/Product/9088766640352”,
“gid://shopify/Product/9088967180512”,
“gid://shopify/Product/9088980091104”,
“gid://shopify/Product/9089113587936”,
“gid://shopify/Product/9089383137504”,
“gid://shopify/Product/9088775848160”,
“gid://shopify/Product/9088519831776”,
“gid://shopify/Product/9088770113760”,
“gid://shopify/Product/9089026621664”,
“gid://shopify/Product/9088955646176”,
“gid://shopify/Product/9089081082080”,
“gid://shopify/Product/9089324777696”,
“gid://shopify/Product/9089212383456”,
“gid://shopify/Product/9088972882144”,
“gid://shopify/Product/9089245905120”,
“gid://shopify/Product/9089309081824”,
“gid://shopify/Product/9089103036640”,
“gid://shopify/Product/9088808517856”,
“gid://shopify/Product/9089102905568”,
“gid://shopify/Product/9088509182176”,
“gid://shopify/Product/9089284931808”,
“gid://shopify/Product/9089114636512”,
“gid://shopify/Product/9088774734048”,
“gid://shopify/Product/9089246658784”,
“gid://shopify/Product/9089107820768”,
“gid://shopify/Product/9089101856992”,
“gid://shopify/Product/9088510623968”,
“gid://shopify/Product/9088993263840”,
“gid://shopify/Product/9089347256544”,
“gid://shopify/Product/9089270251744”,
“gid://shopify/Product/9088525336800”,
“gid://shopify/Product/9089297252576”,
“gid://shopify/Product/9089124663520”,
“gid://shopify/Product/9089339457760”,
“gid://shopify/Product/9088996409568”,
“gid://shopify/Product/9088984744160”,
“gid://shopify/Product/9089327268064”,
“gid://shopify/Product/9088525959392”,
“gid://shopify/Product/9088988578016”,
“gid://shopify/Product/9089258717408”,
“gid://shopify/Product/9089042809056”,
“gid://shopify/Product/9088783712480”,
“gid://shopify/Product/9088984908000”,
“gid://shopify/Product/9088982221024”,
“gid://shopify/Product/9089201930464”,
“gid://shopify/Product/9088747864288”,
“gid://shopify/Product/9088955482336”,
“gid://shopify/Product/9089235648736”,
“gid://shopify/Product/9088745406688”,
“gid://shopify/Product/9088957284576”,
“gid://shopify/Product/9088969048288”,
“gid://shopify/Product/9089010172128”,
“gid://shopify/Product/9089208123616”,
“gid://shopify/Product/9089000931552”,
“gid://shopify/Product/9089330479328”,
“gid://shopify/Product/9089290928352”,
“gid://shopify/Product/9088798097632”,
“gid://shopify/Product/9089305051360”,
“gid://shopify/Product/9088497484000”,
“gid://shopify/Product/9089256947936”,
“gid://shopify/Product/9088974094560”,
“gid://shopify/Product/9089010860256”,
“gid://shopify/Product/9089209630944”,
“gid://shopify/Product/9089112211680”,
“gid://shopify/Product/9089293451488”,
“gid://shopify/Product/9089027768544”,
“gid://shopify/Product/9088755630304”,
“gid://shopify/Product/9089310720224”,
“gid://shopify/Product/9089312948448”,
“gid://shopify/Product/9089227784416”,
“gid://shopify/Product/9089221165280”,
“gid://shopify/Product/9089266680032”,
“gid://shopify/Product/9088775979232”
]
}”
Response Headers
Date: Thu, 11 Dec 2025 11:54:29 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
x-sorting-hat-podid: 223
x-sorting-hat-shopid: 78370275552
x-stats-apiclientid: 5045527
x-stats-apipermissionid: 619140808928
x-request-id: a535a39c-0d4a-4501-a5a4-aa7562354c52-1765454024
server-timing: processing;dur=45070, verdict_flag_enabled;desc=“count=21”;dur=61.438, _y;desc=“54fff121-ed19-43db-9629-68270bd985e9”, _s;desc=“2ae1a337-8de4-4847-8290-18471d12a399”
content-security-policy: default-src ‘self’ data: blob: ‘unsafe-inline’ ‘unsafe-eval’ https://* shopify-pos://*; […]
x-dc: gcp-us-central1,gcp-us-east1,gcp-us-east1
Alt-Svc: h3=“:443”; ma=86400
cf-cache-status: DYNAMIC
Server-Timing: cfRequestDuration;dur=45440.999985
Server: cloudflare
CF-RAY: 9ac4c883dcda47e4-BOM
Response Body
{“errors”:“Internal Server Error”}