API key requires permission (all of [contacts-read])

Visitor

Hello, I am trying to make a simple GET request to begin developement on my app and keep getting this error. My boss has told me my account or app has all proper permission so i dont know why or how to correct this error. 

 

status: 'error',
message: 'This hapikey (9***759a-d**2-6**9-a**r-2456**1e8ede) does not have proper permissions! (requires all of [contacts-read])',
correlationId: 'a7ca9062-c221-461f-b363-b928095779b2',
requestId: 'b890fe0a-0a81-4684-a0fc-717f338b0dd7'

 

Thanks!

Reply
0 Upvotes
1 Reply 1
Highlighted
Community Manager

Hey @IDCdev,

 

Do you mind clarifying what's the endpoint that you're using to GET the request?

 

Based on the hapikey you shared, it looks like it's a developer hapikey and not a HubSpot portal hapikey as such it doesn't have the contacts-read scope since the developer portal is mean for managing apps and test accounts. It doesn't have a normal portal feature such as storing contacts.

Reply
0 Upvotes