APIs & Integrations

awful-apps
Participant

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

SOLVE

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
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

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

SOLVE

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

We are working on a solution currently.

View solution in original post

0 Upvotes
awful-apps
Solution
Participant

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

SOLVE

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
awful-apps
Solution
Participant

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

SOLVE

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

dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

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

SOLVE

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

We are working on a solution currently.

0 Upvotes