Genshin Impact users are unable to log in to their accounts. When they try to do the same, the following error message pops up for some:
Genshin Impact encountered a problem loading game data, please log in again
Error Code: 31-4302
OR
Data error, please download latest game files from official website and log in again.
Error Code: 31-4302
In this article, we are going to talk about this issue and see what should be done when you see Error Code 31-4302 on Genshin Impact.
Fix Genshin Impact Error Code 31-4302
If you are seeing Error Code 31-4302 on Genshin Impact, check the following solutions.
- Check Server Status
- Allow the game through the antivirus
- Check your Internet Connection
- Restart your game and the router
- Disable or Enable VPN
- Repair Game Fies
- Restart Network Protocols
- Troubleshoot in Clean Boot
- Reinstall Genshin Impact
Let us talk about them in detail.
1] Check Server Status
You should start by checking the server status of Genshin Impact and make sure that it is not down. By using any of the mentioned down detectors you can find the server status of Genshin Impact. If it’s down, the only thing you can do is wait for the issue to be resolved.
2] Allow the game through the antivirus
If you have a third-party antivirus such as avast, it can mistake Geshin Impact for a virus. If that is the case, then you should whitelist the application and see if that works. In the case of Windows Defender, try allowing the game through Firewall. That should do the trick for you.
3] Check your Internet Connection
Next up, we should check your Internet Connection and make sure that the bandwidth is not low. You can use a free Internet Speed detector to see to know your bandwidth. If it’s low, check other devices connected to the same network, if all of them have network issues, restart your router and if that doesn’t work, contact your ISP. If yours is the only device with slow Internet, check our guide to resolve the issue.
4] Restart your game and the router
If Internet speed is not an issue, then try restarting the game and see if that works. Then, try power cycling your router as that will resolve any glitch that you may have.
- Turn off the Router and unplug it.
- Wait for 30 seconds to one minute.
- Plug the router and turn it back on.
Hopefully, it will do the trick for you.
5] Disable or Enable VPN
This may sound a bit counterintuitive but if you were using the VPN while trying to log in to the Genshin Impact server then disable it. Whereas, if you were not using the VPN, try connecting to it and see if that works. This will help you if there is some issue with the server that you are trying to connect.
6] Repair Game Files
Usually, when game files got corrupted, Genshin Impact won’t launch on your system. However, there are certain files that allow the game to connect to the server. If these files are missing or are corrupted, connecting the server won’t be possible. We are going to verify the files and see if that works. Follow the prescribed steps to do the same.
- Open Genshin Launcher
- Click on the gear icon to enter the settings.
- Select Repair Game Files > Repair Now.
You should wait for some time as the launcher repairs your files. Hopefully, this will do the trick for you.
7] Restart Network Protocols
You should try resetting the network protocols and see if that works. We are going to use Command Prompt to do the same. Open CMD as an administrator and run the following commands.
ipconfig /release
ipconfig /flushdns
ipconfig /renew
netsh winsock reset
Hopefully, it will do the trick for you.
8] Troubleshoot in Clean Boot
If there is a third-party application conflicting with your game, you may see the error code in question. Since we don’t know what this application is, we are going to perform Clean Boot to find out. Once you know the cause, just remove that app and you will be good to go.
9] Reinstall Genshin Impact
If nothing works, then your last resort is to reinstall Genshin Impact. You can uninstall the game from Windows Settings, then download and install its fresh copy. Hopefully, that will resolve the issue for you.
Read: Genshin Impact keeps crashing or freezing.
How to fix Genshin Impact error code 31-4302 on mobile?
If you face error code 31-4302 on your smartphone while playing the Genshin Impact game, then open the File Manager app. After that, jump to Android > data > com.miHoYo.GenshinImpact folder. Access the files folder there, the il2cpp folder, and then the Metadata folder. Rename the global-metadata.dat file to another name. Finally, restart your smartphone, and launch the Genshin Impact game. This should solve the problem.
Does uninstalling Genshin Impact delete everything?
When you are deleting the Genshin Impact game, your account won’t be deleted. Also, all the files backed up to your account won’t be deleted, so, if you feel like deleting the game, go ahead and do that.
Also Read: Genshin Impact not launching on Windows 11.