APIs & Integrations

Sebastian_Lozad
Miembro

This oauth-token does not have proper permissions! (requires all of [contacts-read])

resolver

Hi,

I am trying to create a timeline event. I followed the oAuth flow with the following scopes scope=contacts%20timeline; however, when I try to create an event for a contact, I receive the OBJECT_NOT_FOUND error.

I tried to retrieve that contact, but then I get this error:
This oauth-token does not have proper permissions! (requires all of [contacts-read]).

When I review the refresh token info, there are these scopes: "oauth", "contacts", "timeline".

What am I missing?

0 Me gusta
1 Soluciones aceptada
Sebastian_Lozad
Solución
Miembro

This oauth-token does not have proper permissions! (requires all of [contacts-read])

resolver

Hi,

I was able to solve this problem. I was selecting the wrong account before retrieving the auth code. I was selecting the dev account, but then I chose the main account, which is the one that has contacts.

Thanks!

Ver la solución en mensaje original publicado

2 Respuestas 2
Derek_Gervais
Exmiembro de HubSpot
Exmiembro de HubSpot

This oauth-token does not have proper permissions! (requires all of [contacts-read])

resolver

Hi @Sebastian_Lozada,

Can you give me your app ID, and the Hub ID of the portal you're working in?

0 Me gusta
Sebastian_Lozad
Solución
Miembro

This oauth-token does not have proper permissions! (requires all of [contacts-read])

resolver

Hi,

I was able to solve this problem. I was selecting the wrong account before retrieving the auth code. I was selecting the dev account, but then I chose the main account, which is the one that has contacts.

Thanks!