Error Response Codes
The following common error codes can occur with SCAPI requests:
If responding to a SCAPI request takes too long, a HTTP 504 status code is returned:
Shopper APIs and Custom APIs must respond within 10 seconds, and Admin API requests must respond within 60 seconds. If a response to a SCAPI request exceeds the timeout threshold, the HTTP 504 status code is returned.
If you are encountering issues with timeouts, seek to optimize your hook implementations.
Some API families, such as SLAS and Omnichannel Inventory (OCI), do not have gateway timeouts.