The URL( https://app.snowflake.com/europe-west4.gcp) that you are using is Snowsight UI specific. To connect through a client or driver you must need account URL with .snowflakecomputing.com host.
Please follow the below syntax for building the Snowflake account identifier-
For example, if your account locator is xy12345: If the account is located in the AWS US East (Ohio) region, additional segments are required, and the account identifier would be xy12345.us-east-2.aws
For example, if your orgname is ab6789 and your account_name is xy1234 then, your account identifier would be ab6789-xy1234
Please refer to the below documentation for more information related to Snowflake account identifier- https://docs.snowflake.com/en/user-guide/admin-account-identifier