The "Failed to verify your identity. Try again." error usually appears when you attempt to sign in to iCloud through a web ...
Unboxing a new iPhone shouldn't make you anxious about whether your information will safely transfer to the new phone. These are the ways to do it easily and safely.