If you can't connect or sign in to iCloud, read this support article --> If you can't connect or sign in to iCloud - Apple Support
If using cellular data, try using WiFi instead —> Connect to Wi-Fi on your iPhone or iPad - Apple Support
"Verification Failed This Apple ID is not active" --> According to Apple Community Specialist Brittany1416 in thread Inactive Apple ID - Apple Community , please contact Apple Support for help with an "inactive" Apple ID.
"Verification Failed An unknown error occurred. --> In this case My Apple Account got locked for no reason… - Apple Community the account had been permanently disabled. Again, contact Apple to verify if this is the case.
You can reach Apple Support using this link --> Contact - Official Apple Support
or by telephone at one of the numbers in this support article --> Contact Apple Support - Apple Support