I sometimes see an error 520 origin error (cloudflare-nginx) on Shopify REST API.
Does anyone know a way to prevent this error?
Sorry for not giving more details, but I don't have a thing.
Solved! Go to the solution
This is an accepted solution.
This would be a "catch all" response in case the origin server (Shopify) is unable to fulfill the request. I would suggest you logging response headers and share it with Shopify Support team so they can trace it through their logs and identify the root cause.