# This hapikey (eu1-redacted-key) doesn't exist. Any ideas?

**URL:** <https://community.hubspot.com/t/this-hapikey-eu1-redacted-key-doesnt-exist-any-ideas/43986>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [September 17, 2021, 10:56am UTC](https://community.hubspot.com/t/this-hapikey-eu1-redacted-key-doesnt-exist-any-ideas/43986 "2021-09-17T10:56:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![awful-apps](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/awful-apps/32/29892_2.png) [@awful-apps](https://community.hubspot.com/u/awful-apps)\
**Post date:** [September 17, 2021, 10:56am UTC](https://community.hubspot.com/t/this-hapikey-eu1-redacted-key-doesnt-exist-any-ideas/43986/1 "2021-09-17T10:56:27Z")

</div>

Hi,

I’ve set up an app, installed it on my hubspot account. It exists to provide webhooks to onboard data to our data platform.

I’m looking at custom properties and rather than manually enter each custom property to the webhook page, I want to do it programmatically.

I’ve generated a **developer** API key. It’s correct. I’m running the following code. It is the example code shown when you generate your api key.

`curl --request GET --url https://api.hubapi.com/integrations/v1/APPID/timeline/event-types?hapikey=eu1-api-key-redacted&userId=USERID`

And this code too. It is taken directly from the API endpoints for webooks here - [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/webhooks)

`curl --request GET --url 'https://api.hubapi.com/webhooks/v3/APPID/settings?hapikey=eu1-api-key-redacted'`

Both snippets of code return -

```lia-code-sample
First Snippet - 

{"status":"error","message":"This hapikey (eu1-redacted-key) doesn't exist.","correlationId":"redacted-just-in-case"}

Second Snippet - 

HTTP 401

{
 "status": "error",
 "message": "The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/",
 "correlationId": "redacted-just-in-case",
 "category": "INVALID_AUTHENTICATION",
 "links": {
 "api key": "https://app.hubspot.com/l/api-key/"
 }
}

```

Can anybody help with thisd at all? I’m really stuck and struggling to implement a working solution that is automated.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 17, 2021, 2:56pm UTC](https://community.hubspot.com/t/this-hapikey-eu1-redacted-key-doesnt-exist-any-ideas/43986/2 "2021-09-17T14:56:42Z")

</div>

@awful-apps , I _think_ I responded to you in another thread.

We are working on a solution currently.

---

<div class="post-metadata">

**Author:** ![awful-apps](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/awful-apps/32/29892_2.png) [@awful-apps](https://community.hubspot.com/u/awful-apps)\
**Post date:** [September 17, 2021, 3:18pm UTC](https://community.hubspot.com/t/this-hapikey-eu1-redacted-key-doesnt-exist-any-ideas/43986/3 "2021-09-17T15:18:23Z")

</div>

Yes you did, I’ll piggyback off that thread and close this. For those checking -

[https://community.hubspot.com/t5/APIs-Integrations/This-hapikey-doesn-t-exist/m-p/496388#M46913](https://community.hubspot.com/t5/APIs-Integrations/This-hapikey-doesn-t-exist/m-p/496388#M46913)
