A bad gateway error is a communication error. It means that the web server, acting as a proxy or gateway, received an invalid response from another server.