Status code 502 Bad Gateway is like a miscommunication between servers. When you try to access a website, your request goes through several servers. If one of them gets a wrong response, you’ll see a 502. It’s like a server saying, “I got a confusing answer from another server.”