In my case, I was trying to disable Find iPhone so I could erase a phone. This produced the verification failed error. Signing out of iTunes didn't help. HOWEVER, signing out of iCloud, rather than turning off Find iPhone, worked. Then I could reset the phone.