Error connecting elastic robot to gcp

Ive set up the GCP and i have the Project ID, Service Account and Private key. Ive also created the VM on GCP

however when i try to connect the elastic robot to the GCP it says:

Error connecting to the cloud connection. Please ensure you supplied the correct connection settings and that you have permissions to access the subscription.