Cannot create Apple ID either from iOS of website - An unknown error has occurred I'm trying to create an Apple ID from a used iPhone 5 that I have purchased but it's failing.

After failing on the iPhone I tried to create one from the website but I'm always getting an "An unknown error has occurred"

No clue on how to solve it.
Try using a different network to access the website. Sometimes changing networks can cause that issue. If you arent at liberty to change networks then restarting your device can help.