A 502 status code signals a bad gateway between servers during request handling. It occurs when proxy servers, load balancers, or CDN services fail to communicate properly. Common reasons include server crashes, timeout settings, PHP errors, or incorrect routing paths. https://rankyfy.com/502-status-code