The error
Shopify GraphQL error: THROTTLED
Quick answer: The Shopify GraphQL Admin API limits work using calculated query cost. A request can be throttled when sufficient query capacity is not available.
What this error means
The Shopify GraphQL Admin API limits work using calculated query cost. A request can be throttled when sufficient query capacity is not available.
Start with the first application-owned file, operation, request, query, plugin, or component identified by the error. Fix the underlying failure before changing unrelated parts of the application.
Common causes
- Queries request more data than the integration needs.
- Large GraphQL connections increase requested query cost.
- Requests arrive faster than query capacity is restored.
- A retry loop immediately repeats throttled requests.
- Several workers consume capacity for the same app and store.
Immediate repair pattern
const result =
await response.json();
const throttled =
result.errors?.some(
(error) =>
error.extensions?.code ===
'THROTTLED'
);
if (throttled) {
throw new Error(
'Shopify request throttled'
);
}
Apply the repair only when it matches the actual runtime condition shown by the complete error and application context.
Do not hide the root cause
Do not immediately retry a throttled operation in a tight loop. Reduce unnecessary query cost and use controlled retry behavior.
Repair checklist
- Capture the complete error and stack trace.
- Identify the first application-owned location or resource involved.
- Confirm the runtime value, state, response, or configuration reported by the error.
- Apply the smallest repair that addresses the actual cause.
- Retest both the successful path and the original failing path.
- Confirm the original error no longer occurs.
Still getting the error?
Paste the complete error and stack trace into 0-69. The matching repair engine can classify the failure and prepare specific repair steps and copy-ready code for the detected pattern.
Analyze My Shopify ErrorReference: Official platform documentation