# Trying to use API in EU

**URL:** <https://community.hubspot.com/t/trying-to-use-api-in-eu/69434>\
**Category:** APIs & Integrations\
**Created:** [November 17, 2022, 6:26am UTC](https://community.hubspot.com/t/trying-to-use-api-in-eu/69434 "2022-11-17T06:26:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![STayler](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@STayler](https://community.hubspot.com/u/STayler)\
**Post date:** [November 17, 2022, 6:26am UTC](https://community.hubspot.com/t/trying-to-use-api-in-eu/69434/1 "2022-11-17T06:26:04Z")

</div>

I am trying to get all my user data Synced with another platform. As soon as I try to use the new API or Private Apps key I get denied every time.

I get a “Invalid credentials, please check the details and try again.”

My data is in Europe and it’s a real problem.

Anyone else had this issue?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 18, 2022, 5:03pm UTC](https://community.hubspot.com/t/trying-to-use-api-in-eu/69434/2 "2022-11-18T17:03:49Z")

</div>

Hi, @STayler 👋 Thaks for reaching out. Is this still occurring for you?

To confirm, this is happening when you use your private app key that is EU-based. Formatted similar to this? — pat-eu1-5…

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![STayler](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@STayler](https://community.hubspot.com/u/STayler)\
**Post date:** [November 19, 2022, 4:47am UTC](https://community.hubspot.com/t/trying-to-use-api-in-eu/69434/3 "2022-11-19T04:47:24Z")

</div>

Yes it is still happening and the API code is as the one you suggested.
