This oauth-token (XXXXXXXXXXXXXXXXXXXXX) does not have proper permissions! (requires all of [timeline-write])


#1

Timeline API : PUT https://api.hubapi.com/integrations/v1/{appid}/timeline/event with Header OAuth Access Token
Request Body :
{
"id":"3",
"objectId":1,
"eventTypeId":"XXXXX"
}
I got Error Like Below.
{
"status": "error",
"message": "This oauth-token (XXXXXXXXXXXXXXXXXXXXX) does not have proper permissions! (requires all of [timeline-write])",
"correlationId": "e3a06f71-ca9b-49ad-98e4-72dc89420121",
"requestId": "16e32843d6352d847171dea921fbe666"
}
Status Code : 403

what is the problem for to occur this error......?


#2

In your application settings, you need to check off "Create timeline events" under the "Scopes" section.


#3

Hi @cc2 ,
Thank you for your reply. It Works good.