Hi, I'm trying to retrive a list of deals uaing the "run in postman" example in the docs. However I keep getting a scopes error. I've added all scopes to try and resolve the issue but I'm having no luck. I've removed the API Key in the imnages but below is a screenshot of the included scopes, my postman request and the error response.
Can someone help me out or point me in the right direction to resolve this? I've got no idea why I'm failing at the first hurdle with this.
{
"status": "error",
"message": "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.",
"correlationId": "fd6605dd-2814-410e-98ec-144de2ee7ebd",
"errors": [
{
"message": "One or more of the following scopes are required.",
"context": {
"requiredScopes": [
"e-commerce",
"contacts",
"tickets"
]
}
}
],
"links": {
"scopes": "https://developers.hubspot.com/scopes"
},
"category": "MISSING_SCOPES"
}
@rhysjevons if you're using an API key, you shouldn't have to even worry about scopes since you should have full access to the portal. If you're using OAuth you should be using the access_token instead of the api key.
@rhysjevons - Agreeing with @stefen - I have never had an issue with scopes when using an hapikey param in postman. Can you also double check and make sure you don't have authorization headers set in postman? It should just be a regular request without any Auth headers
If this answer helped, please, mark as solved 😄
tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.