Does developer account not have access to calendar API?
resolver
I’m trying to create a task using the Calendar API from a newly created developer account but I get the following error:
{
"status": "error",
"message": "This hapikey (d36a25af-xxxx-xxxx-xxxx-39649336bb4f) does not have proper permissions! (requires all of [content-access])",
"correlationId": "2b422ab2-72f1-4a38-8e05-5ba06f7bdd23",
"requestId": "5c136b9f98b7bede505fd409ed95b958"
}
I initially started with just content scope but then enabled all scopes to see if this error goes away but I didn’t have any luck. I’m sending the following via POST to https://api.hubapi.com/calendar/v1/events/task:
{
"eventDate": 1425760557000,
"category": "EMAIL",
"state": "TODO",
"name": "Test Blog Task With topics 3",
"description": "Cool Post with Topics",
"ownerId": 22620668
}
I’m able to successfully access the Owner API with the same hapikey.
The only difference between the Calendar API and Owner API is the former is Marketing only while the latter is Marketing & CRM.
What should I do to access the Calendar API using my hapikey?