Error 502 - API Request Failed

A 502 is your server not responding to Cloudflare. Sometimes it’s a firewall issue and you need to allowlist Cloudflare’s IP addresses.

https://support.cloudflare.com/hc/en-us/articles/218378978-What-should-I-do-after-seeing-a-502-or-504-gateway-error-on-my-site-