If you are trying to open the Epic Games client but it keeps showing error 502 on Windows 10 and 11. Solving Epic Games error: Backend error: The remote server returned an error (502) Bad Gateway. And closing. This article will show you several different troubleshooting steps you can use to solve Epic Games error 502.

Related: How to Fix PS, Xbox Controller not working in Lies of P Game Pass PC or Steam.

Epic Games has become a popular digital game storefront, known for discounts, free games, and exclusive titles. Though it is popular amongst Fortnite players and people looking for free games, it's still nowhere near as good as Steam. It’s also quite a fair bit less reliable. While not a total disaster like Origin, the Epic Games client does have technical issues, such as the "Bad Gateway" error 502 on Windows 10 and 11.

Typically this error indicates a communication problem between your computer and Epic Games servers. Usually, it’s a simple network connection issue and a simple router/modem restart will solve the problem. However, there are times when the issue is a little more complicated so you will have to work your way through some extra steps in order to solve the problem.

Run the Epic Games Client as an Administrator.

  • Search for Epic Games in the Windows Search bar.
  • When the option appears, right-click on it and select Run as administrator.
  • With the Epic Games launcher now open in Administrator mode, you can proceed to download and install your game.

Install the Epic Games Launcher in another Directory.

  • Go to C: drive and open Program Files (x86).
  • Create a new folder named Epic Games.
  • Install the launcher in this folder. The location will be C:\Program Files (x86)\Epic Games.

Reset the Epic Games Launcher Cache.

  • Press the Windows key + R.
  • When the Run dialog box opens, type %localappdata% and hit Enter.
  • File Explorer will appear with the concerned folder.
  • Locate the EpicGamesLauncher folder and open it by double-clicking.
  • Search for the folders webcache, webcache_4147, and webcache_4430, and delete them.

Uninstall and Reinstall the Launcher.

  • Right-click on Start and select Settings.
  • Select Apps from the left pane.
  • In the right pane, click on Installed apps.
  • Scroll through the list of all the programs to find Epic Games.
  • Click on the three dots and select Uninstall. Follow the onscreen instructions, and finally, restart the system.
  • After restarting, open the Epic Games setup and proceed to install the launcher.

Create a Missing Sub-folder.

  • Open the File Explorer window and navigate to the following path: C:\Program Files (x86)\Epic Games
  • Right-click on the free space and select New > Folder.
  • Name the new folder Epic Online Services.
  • Hit Enter to save the path and reboot your system.
  • Now that the Epic Online Services folder has been created, the Registry path will be complete, and the error will be resolved.

Use Program Install and Uninstall Troubleshooter.

  • Download the Program Install and Uninstall troubleshooter and unzip the file.
  • Double click on Microsoft Program_Install_and_Uninstall.meta.diagcab.
  • Click Next on the troubleshooter.
  • Select Installing.
  • The tool will detect the problems and display a list of programs.
  • Select Epic Games Launcher from the list and click Next. Follow the on-screen options accordingly.

Try Installing .NET Framework.

  • Press the Windows key + R, then type apppwiz.cpl and hit Enter.
  • In the Programs and Features window, click on Turn Windows features on or off from the left pane.
  • In the new window, check .Net Framework 3.5 and click on OK. Once the application is installed, restart your computer.