What does the "502 Bad Gateway" error typically indicate?
A) The client's browser is outdated.
B) The server is currently undergoing maintenance.
C) There is an issue with the server's DNS settings.
D) The server received an invalid response from an upstream server.