Plus a few more troubleshooting tips
Best Way to Bypass iPhone Owner Lock | iOS 16.3 | iToolab UnlockGo
Is iCloud showing a "Connection Error" message when you sign in through a web browser? This tutorial explains why that happens and how to fix the problem on Windows and Mac computers.
The error message reads: "iCloud encountered an error while attempting to connect to the server." This simply means that iCloud was unable to connect to iCloud servers. The problem is sometimes temporary, and reloading the page may allow you to sign in to iCloud.
It could also be due to factors beyond your control: poor internet connection, iCloud server downtime, web browser bugs, etc. The troubleshooting recommendations in this tutorial should help you regain access to iCloud in no time.