Mhh I think I finally got it working.
I was using WifiMulti.h and it seems there was the problem. Something with TLS handshake.
I swaped to Wifi.h and now seems to work.
I received this error too, I reinstalled a fresh version of all requirements (from thdirections linked) at least 4 times last night and could not get it working.
I ended up having to install platform IO which I do not understand, but at least I got it working!