Read: Dropping an iPhone in Public Public Experiment
If you recently restored your iphone with iOS 9, you may receive a message when you select your iCloud account information under Settings -> iCloud
Account Details Unavailable If you are signing in to iCloud on another device or at iCloud.com, you can get a verification code while offline
Selections Get Verification Code or Ok
It seems the restore has somehow corrupted your iCloud login ID on your iOS device (iPhone). The verification code you will get won't mean anything.
To fix the corruption, log out of iCloud on your device and log back in.
You will get a prompt "if you sign out of your account, all Photo Stream photos and iCloud Drive stored in iCloud will be removed...