What happened?
Your origin server reported a bad gateway error, contact your hosting provider to troubleshoot these common causes at your origin web server:
1: Ensure the origin server responds to requests for the hostname and domain within the visitor’s URL that generated the 502 or 504 error.
2: Investigate excessive server loads, crashes, or network failures.
3: Identify applications or services that timed out or were blocked.