Product API Throwing 504 Gateway Time-out

Hello Shopify folks,

We occasionally get an error (504 Gateway Time-out) from Shopify Product API. This was on Tue, 09 Nov 2021.

Please refer to the information below for the Shopify API request and response. We have also checked Shopify Status on that day but haven’t identified any downtime reported by Shopify (https://www.shopifystatus.com)

Request:
API Endpoint: /admin/api/2021-10/products/{product-id}/images.json

Response:
Headers: {“status”:“HTTP/2 504 \r”,“date”:“Tue, 09 Nov 2021 07”,“content-type”:“text/html”,“content-length”:“160”,“x-sorting-hat-podid”:“132”,“x-sorting-hat-shopid”:“35635396741”,“x-dc”:“gcp-us-central1”,“x-request-id”:“34ac431d-3d02-4a94-a031-a408300a5244”,“x-permitted-cross-domain-policies”:“none”,“x-xss-protection”:“1; mode=block”,“x-download-options”:“noopen”,“x-content-type-options”:“nosniff”,“cf-cache-status”:“DYNAMIC”,“expect-ct”:“max-age=604800, report-uri="https”,“server”:“cloudflare”,“cf-ray”:“6ab5510afe4cca5f-YUL”,“alt-svc”:“h3="”,“”:“”}

HTML Raw Data:

504 Gateway Time-out

504 Gateway Time-out


nginx ----

Could someone share any idea on why we may be receiving this error from Shopify? We could only catch this error on Tues 9th, but have seen this happening at multiple occasions.