Getting "verification failed" message when setting up iPad
I'm trying to set up an iPad (4th generation). The device has been factory reset, and I'm now trying to set it up as new.
I've entered the AppleID email and account password, and I know those are correct because an authentication request gets sent to all the other devices on that account. I then enter the six-digit code provided on the other devices, cross-checking to make sure that it's entered correctly. The iPad then proceeds to the "setting up Apple ID" stage, the wait cursor spins for a while, and finally it displays a message saying "Verification Failed".
This has happened several times.
The AppleID and password are correct. The network connection is good. The iPad is elderly but otherwise appears to be in good health.
Is there any way to get past this?