540 Temporarily Disabled
The HTTP 540 status code is an unofficial server error used by Shopify (540 Temporarily Disabled), Akamai Enterprise Application Access (540 Connectivity Disrupted), and Edgio (540 Out of Resources). Each platform assigns a different meaning to this code.
Usage
Shopify returns 540 when a specific API endpoint has been taken offline temporarily. The endpoint is expected to come back without manual intervention. This differs from 503 Service Unavailable, where the entire service is down. A 540 response targets a single endpoint while the rest of the API remains operational.
Causes include scheduled maintenance on a subsystem, feature flag rollouts disabling an endpoint during deployment, and targeted security mitigations isolating a specific resource.
The response is transient. Retrying the same request after a short delay typically succeeds once the endpoint is re-enabled. No action is required from the API consumer beyond waiting and retrying.
Akamai Enterprise Application Access
Akamai EAA returns 540 Connectivity Disrupted when the EAA connector lacks dial-out connections to the data POP serving the application or has lost access to the configured directory. The connector sits between the Akamai cloud and the origin application. Without active dial-out connections, requests have no path to the backend. Verifying connector health, restarting the connector, and increasing dial-out capacity for the affected application resolves the issue.
Edgio
Edgio (formerly Layer0) returns 540 when
serverless code running on the platform triggers
an out-of-memory condition. Edgio allocates a
fixed memory budget per serverless worker, and
requests exceeding the budget receive a 540
response. The wm field in the x-0-t response
header reports worker memory usage in megabytes,
providing a way to monitor consumption before
the worker reaches the limit.
SEO impact
Search engines treat 540 responses as server errors. Persistent errors cause crawlers to reduce crawl frequency and eventually drop affected URLs from the index.
Example
A client requests product data from the Shopify Admin API, but the specific endpoint has been temporarily disabled during a platform deployment.
Request
GET /admin/api/products.json HTTP/1.1
Host: store.example.re
X-Shopify-Access-Token: shpat_xxxxxxxxxxxx
Response
HTTP/1.1 540 Temporarily Disabled
Content-Type: application/json
Retry-After: 30
{"errors":"This endpoint is temporarily disabled"}
How to fix
Wait and retry the request. The endpoint is expected to come back on its own. Start with a 30-second delay and use exponential backoff if the error persists. Check the Retry-After header when present for a server-suggested wait time.
Verify the Shopify status page for ongoing platform incidents affecting the specific API surface.
Confirm the application handles 540 as a retryable error distinct from permanent failures like 404 or 410. Retry logic designed for 503 applies equally to 540.
If a specific endpoint returns 540 for an extended period, check the Shopify changelog and developer forums for announcements about endpoint deprecation or migration.
Takeaway
The 540 status code is an unofficial server error with platform-specific meanings. Shopify returns 540 Temporarily Disabled for a single offline API endpoint. Akamai EAA returns 540 Connectivity Disrupted when the connector loses its dial-out path. Edgio returns 540 when serverless code exhausts its memory allocation.