430 Security Rejection

Shopify rejects requests flagged as potentially malicious with the unofficial 430 Security Rejection status code. The platform blocks the request before it reaches the application layer.

Usage

Shopify returns 430 when its security infrastructure flags a request as potentially malicious and rejects it to protect the app from a possible attack. Shopify documents the code at that level of detail only. The evaluation runs at the platform level, before the request reaches the application layer, and for the Storefront API Shopify ties it to the buyer's IP address.

Typical causes reported by developers include server-side Storefront API calls arriving without the buyer's IP, requests from cloud hosting providers whose outbound IP pools are shared across tenants, automated traffic patterns resembling scraping or credential stuffing, and bare requests missing the headers a browser sends. Applications running on shared cloud infrastructure see the code more often, because a single flagged tenant affects every tenant sharing the address.

Example

A client sends an API request from a shared cloud IP address. Shopify's security layer flags the source IP and rejects the request with 430.

Request

GET /admin/api/products.json HTTP/1.1
Host: store.example.re
X-Shopify-Access-Token: shpat_xxxxxxxxxxxx

Response

HTTP/1.1 430 Security Rejection
Content-Type: application/json

{"errors":"Security rejection"}

How to fix

Forward the buyer's IP on server-side Storefront API calls. Shopify's documented fix for 430 on the Storefront API is the Shopify-Storefront-Buyer-IP header, sent alongside the private access token in Shopify-Storefront-Private-Token, so the platform rates the buyer behind the request rather than the server making it. The header name is case-sensitive. Requests with no buyer behind them, such as a static site build, omit it.

Switch the application to a static outbound IP address. Shared cloud platforms rotate IPs across tenants, and a single flagged tenant poisons the pool for all others. A NAT gateway, static IP proxy, or dedicated egress IP eliminates this contamination.

Verify the request includes standard headers a legitimate client sends: User-Agent, Accept, and Accept-Language. Bare requests missing these headers are more likely to be flagged as automated.

Space API calls at reasonable intervals. Rapid bursts of requests from a single IP resemble attack traffic. Implement exponential backoff when receiving 430 responses.

Contact Shopify support if the problem persists after adding the buyer IP header and switching to a static IP, so the IP-level block can be investigated.

Review the application for behaviors triggering bot-detection heuristics: high request volumes from a single IP, identical request patterns, missing or rotating User-Agent strings, and connections from known data center IP ranges.

See also

Last updated: November 3, 2026