APIs & Integrations

danthebaker
Member

Error: You don't have access to this event.

I'm trying to create a timeline event using Integromat and I'm running into the error "You don't have access to this event."

Here are the details of my request...

 

 

{
    "request": {
        "url": "https://api.hubapi.com/integrations/v1/228766/timeline/event",
        "qs": {
            "userId": "11377469",
            "hapikey": "624b37f6-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        },
        "headers": {
            "user-agent": "Integromat/production",
            "content-type": "application/json"
        },
        "method": "PUT",
        "body": {
            "id": "test_id",
            "email": "danb@example.com",
            "objectId": 8268651,
            "timestamp": "1600255228000",
            "eventTypeId": "1007257",
            "Message": "test"
        }
    }
}

 

 


Can anyone help with this?

0 Upvotes
2 Replies 2
Mike_Eastwood
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Error: You don't have access to this event.

Hi @danthebaker 

 

Have you tried using OAuth instead of adding your hapikey in the JSON?

 

The hapikey is often used in testing, and setup, but for normal operations it can be denied.

 

And I've assumed you've already worked through steps 1-3 to create the event.

 

Have fun

Mike 

dennisedson
HubSpot Product Team
HubSpot Product Team

Error: You don't have access to this event.

hey @danthebaker , thanks for providing these details

Have you always had these issues or is this just now starting to occur?  

@Hanta @Mike_Eastwood ! Do either of you have thoughts on this

 

Thanks!