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

SOLVE
awful-apps
Participant

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 - 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 - 

 

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.

0 Upvotes
2 Accepted solutions

Accepted Solutions
dennisedson
Solution
Community Manager

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

We are working on a solution currently.

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
awful-apps
Solution
Participant

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

View solution in original post

2 Replies 2
dennisedson
Solution
Community Manager

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

We are working on a solution currently.

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
awful-apps
Solution
Participant

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

View solution in original post