In some situations, while using your Apple ID for logging into iTunes, iCloud, or Apple Store on your iOS device (or computer), you might come across this error message:
There was an error connecting to the Apple ID server.
Another form of this error is:
Verification Failed. There was an error connecting to the Apple ID server.
The error mentioned above is a usually-occurring Apple error. Try the following troubleshooting steps to solve this issue:
Solution 1-Try restarting your Mac device:
By merely restarting your device, you can solve most of the technical issues.
Solution 2-Try checking your Apple System Status:
When the Apple ID server is down or under maintenance, you will face the error. Check your Apple ID server status using the following steps:
In case the Apple ID server is down or under maintenance, please wait for Apple to solve the problem. Then, you will be able to reconnect to your Apple ID. If you do not find any issue on the server, then there might be an issue with your device. Or, you might have trouble connecting to the server.
The next step is to try solution 3.
Solution 3-Try checking your network connection:
Restart your router and reconnect the Mac device to your wireless network. Check if it works.
Now, try connecting to other websites and check if the network functions properly. In case the network connection is right, then try resetting your network settings.
Solution 4-Sign out of iTunes and App Store:
Try signing out of your Apple ID. Sign in once again and check if the error has been resolved.
Solution 5-Configure your computer settings:
Please check the settings given below, to fix your problem:
Using the solutions listed above, you can quickly troubleshoot the Apple ID server connection issue.