Troubleshooting QuickBooks 502 Bad Gateway Error: A Comprehensive Guide
Heavy server traffic or overloading can lead to the 502 Bad Gateway error. This may happen during peak hours when many users are accessing QuickBooks simultaneously.
Source: whatech.com