Clear shared save data for the game you're experiencing issues in.
Open System Settings and go into Data Management
Select Copy/Move/Delete Data
Select the hard drive where the game is stored and select the game having issues
Click on Shared Save Data and delete it
Reopen the game having issues and online should work correctly
For further support with this error code or any associated error codes, please look for a solution or make a support post on the forum.