This problem I believe was caused by that I’m using shared hosting (SiteGround Starter Plan for WordPress to be exact). I resolved it by selecting PHP API instead of HTTP API and connecting that way instead.
I found my full server path in File Manager in cPanel.