API Key missing permission


#1

Hi there

I'm trying to use the API to create tasks but I'm getting following response:
https://api.hubapi.com/calendar/v1/events/task
{
"status": "error",
"message": "This hapikey (8d574a5f-) does not have proper permissions! (requires all of [content-access])",
"correlationId": "a7ea3424-
",
"requestId": "7282bce9030164135e18984804e91cc1"
}

My user should have all the required permissions though, because I was able to create tasks manually in the web UI.

Thanks for your help!


#2

Hi @Dylan_Marriott, That endpoint looks like it's related to the Marketing Calendar here: https://developers.hubspot.com/docs/methods/calendar/create-task, rather than an actual task associated with the CRM. You should create a task via the engagements API here instead.


#3

Oh I see. Thanks for your help!