How to fix Error Connecting to the Apple ID Server?

If you’re getting the “there was an error connecting to the apple id server” error, there are a bunch of fixe's we can suggest. We’ve seen this error occur on all Apple devices, from iPads to Apple watches.
1st, we’ll walk you through some obvious stuff you might have already tried.
However bear with us, we’ve assembled a bunch of different fixes so you can resolve this annoying Apple ID server error.

Easy Solutions
The first several fixes come from Stack Exchange. They say the reasons for this error are numerous. But they suggest 1. Check if you are connected to the internet

2. Reboot your smartphone (hold down the Power and Home buttons simultaneously until you see the Apple logo on a black screen)

3. Reset your router

4. Logging out and back in. Follow the steps below:

Go to Settings >iTunes & App Store
Tap on your Apple ID at the very top
Tap on Sign Out
Now sign back in

Solution WiFi Verification Code

Use the malfunctioning Apple device, and Connect by WiFi and navigate to Settings > iCloud
Click on your Account
Generate a verification code with the working system (it has to be using the same Apple ID as the malfunctioning device)
Use the malfunctioning device & navigate to Settings > iCloud > Password and Security > Generate Verification Code
And then enter the verification code in the device with the error