Getting 520 origin error on REST API

Solved
Highlighted
Tourist
11 0 0

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.

 

0 Likes
Highlighted
Shopify Partner
1810 211 374

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.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes
Highlighted
Tourist
11 0 0

Thanks. I will record response headers when the error occurs and contact Shopify support team and also post the result here if I recall.

0 Likes
Highlighted
New Member
1 0 0

@Ray14 hi, may I ask if you've succeeded in fixing the issue? What was the support team's response?

Thank you!

0 Likes