# Can't connect to Google Vertex

**URL:** https://forum.weaviate.io/t/cant-connect-to-google-vertex/3254
**Category:** Support
**Created:** [August 1, 2024, 6:06pm UTC](https://forum.weaviate.io/t/cant-connect-to-google-vertex/3254 "2024-08-01T18:06:38Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Filipp\_Trigub](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/filipp_trigub/32/1429_2.png) [@Filipp\_Trigub](https://forum.weaviate.io/u/Filipp_Trigub)
#### Post date: [September 3, 2024, 7:57am UTC](https://forum.weaviate.io/t/cant-connect-to-google-vertex/3254/7 "2024-09-03T07:57:26Z")

</div>

I am faced with the same problem, but using X-Palm-Api-Key does not seem to work.

Vertex AI is not compatible with API Keys anymore, hence I am trying Oauth2, service acc or simply an access token.

EDIT: It now uploads the properties, but does not vectorize.

My cluster is 1.25.10 and my python dependency client is 4.7.1.

I am basically running these lines

```auto
client = weaviate.connect_to_weaviate_cloud(
    cluster_url=os.getenv("WEAVIATE_URL"),
    auth_credentials=weaviate.auth.AuthApiKey(api_key=os.getenv("WEAVIATE_API_KEY")),
    headers={"X-OpenAI-Api-Key": os.getenv("OPENAI_API_KEY"),
             # "X-Google-Vertex-Api-Key": os.getenv("GOOGLE_ACCESS_TOKEN"),
             "X-Palm-Api-Key": os.getenv("GOOGLE_ACCESS_TOKEN")
             }
)

for q in tqdm(collection_src.iterator()):
     collection_tgt.data.insert(properties=q.properties, uuid=q.uuid)

```

---

_[View the full topic](https://forum.weaviate.io/t/cant-connect-to-google-vertex/3254)._
