That error code is an account linking issue.
• Make sure your EA account is linked correctly to the platform you are using.
• If you are on Steam, disable the Steam overlay.
• When this happens, check if your network adapter is having a poor or slow connection. On your task bar, right click the Network symbol and go to Diagnose Network Problems. If it says you might have a poor or slow connection at the top of the screen, select Restart the Wi-Fi Network Adapter.
Is your router set to Private? For some reason, public connections don't allow the game to run. This happened when I visited a friend of mine in the hospital. The game wouldn't connect on their Public Wi-Fi. When I connected to the hotspot on my phone, it worked fine. Also make sure the game is being allowed to connect through the firewall if you are on PC.