Step 1: If you have already activated the system that the PS4 primary, go to [Settings]> [PSN]> [Enable as Your PS4 Primary], deactivate and reactivate.
Step 2: Go to [Settings]> [PSN]> [Restore Licenses], and select Restore.
Step 3: If the error occurs again, please try again later. You can also check the status of the PSN here.