430 Shopify Security Rejection
Client error response defined by shopify.dev.
Written and maintained by Ben Ennis
Last reviewed November 23, 2026 · How we verify this
Common causes at a glance
- Server-side Storefront API calls missing the Shopify-Storefront-Buyer-IP header
- Outbound traffic from shared cloud IPs that other tenants have abused
- Bursty automated request patterns that resemble scraping
- Bare requests without the headers a normal client sends
Reproduce it
curl -si https://your-store.myshopify.com/api/2026-10/graphql.json -H 'Content-Type: application/json' -d '{"query":"{ shop { name } }"}' | head -1What 430 Shopify Security Rejection means
Shopify’s response code reference describes 430 in one line: the request wasn’t accepted because it might be malicious, and Shopify rejected it to protect the app. The decision happens at the platform edge, not in your app’s API quota, so the usual rate-limit headers are often missing from the response. Treat it as “Shopify doesn’t trust where this request came from or what it looks like”, not “you sent too many”.
There is no RFC
430 is unassigned in the IANA HTTP Status Code Registry. Shopify
documents it on its API response codes page and in the
Storefront API reference, which says server-side Storefront
requests made on behalf of a buyer should include the Shopify-Storefront-Buyer-IP
header with the buyer’s address. Without it, every request from a headless storefront
appears to come from your server’s IP, which looks like automated traffic. Rate limits are
documented separately on the API limits page.
What actually causes it
Headless storefronts hit this most. A server-rendered Next.js or Hydrogen app proxies every shopper through one or a few egress IPs, and Shopify sees thousands of buyers arriving from a data center. Forwarding the real buyer address in the documented header is the first fix. The second is egress: serverless platforms share outbound addresses across customers, so a neighbour’s abuse can get the shared IP flagged. A static egress IP through a NAT gateway takes that variable away.
How to debug it
Separate 430 from 429 in your logs first, since the fixes are different. Then check whether the failing requests carry the buyer IP header and which egress IP they left from:
curl -s https://ifconfig.me # run from the same runtime that calls Shopify
If 430s persist with correct headers and a static IP, open a Shopify support case with the
x-request-id values from the failing responses.
Working examples
curl
# Server-side Storefront call that forwards the shopper's address.
curl -si "https://$SHOP.myshopify.com/api/2026-10/graphql.json" \
-H "Content-Type: application/json" \
-H "Shopify-Storefront-Private-Token: $TOKEN" \
-H "Shopify-Storefront-Buyer-IP: $BUYER_IP" \
-d '{"query":"{ shop { name } }"}' | grep -iE '^(HTTP|x-request-id)'
Python (requests)
import requests
r = requests.post(
f"https://{shop}.myshopify.com/api/2026-10/graphql.json",
json={"query": "{ shop { name } }"},
headers={"Shopify-Storefront-Private-Token": token,
"Shopify-Storefront-Buyer-IP": buyer_ip},
timeout=10,
)
if r.status_code == 430:
print("security rejection", r.headers.get("x-request-id"))
Node (fetch)
const res = await fetch(`https://${shop}.myshopify.com/api/2026-10/graphql.json`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"Shopify-Storefront-Private-Token": token,
"Shopify-Storefront-Buyer-IP": buyerIp,
},
body: JSON.stringify({ query: "{ shop { name } }" }),
});
if (res.status === 430) console.log("rejected", res.headers.get("x-request-id"));Reference and tooling
The authoritative list of assigned status codes is theIANA HTTP Status Code Registry. For a searchable copy with the semantics summarised, use theHTTP status code reference on this site. To see exactly what a server is sending, theheader inspector shows the raw status line and response headers, and thecurl builder assembles the request flags for you.
Related reading
- Every HTTP status code, and when it shows up
The wider map: which codes you actually meet in production, and the pairs everyone confuses.
Other 4xx codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Content Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 (Unused)
- 419 Page Expired
- 421 Misdirected Request
- 422 Unprocessable Content
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 440 Login Time-out (Microsoft)
- 444 No Response
- 449 Retry With (Exchange ActiveSync)
- 451 Unavailable For Legal Reasons
- 460 Client Closed Connection (AWS ALB)
- 463 Too Many Forwarded IPs (AWS ALB)
- 464 Incompatible Protocol Version (ALB)
- 494 Request Header Too Large
- 495 SSL Certificate Error
- 496 SSL Certificate Required
- 497 HTTP Request Sent to HTTPS Port
- 498 Invalid Token (Esri ArcGIS)
- 499 Client Closed Request