Skip to content
Control Plane Labs

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 -1

What 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.

Other 4xx codes