APIs & Integrations

JLim063
Member

Roles Endpoint Error

I am trying to use this endpoint 


https://api.hubapi.com/settings/v3/users/roles


`https://developers.hubspot.com/docs/reference/api/settings/users/user-provisioning#get-%2Fsettings%2...

 

I have the scopes required from the API endpoint, but calling that endpoint gives me an error response below. 

```

{
"status": "error",
"message": "Account doesn't have access to roles.",
"correlationId": "4d845a93-43a3-44db-ae5d-321b72328e78",
"category": "VALIDATION_ERROR"
}

```

I have searched through previous forums, but couldn't find answers for it. 

 

How do you get role information? 

0 Upvotes
2 Replies 2
GiantFocal
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Roles Endpoint Error

Hi @JLim063,

 

Based on the error, this is typically one of the following issues:

  1. Account tier limitation
  2. Permission requirements
  3. API authentication issues

You can try the following steps to ensure everything is in place:

  1. Confirm your HubSpot subscription level includes role management features
  2. Verify your user account has the proper administrative permissions
  3. Ensure your API authentication includes all required scopes for user provisioning
Best regards,
Ernesto @ GiantFocal
Found this answer helpful?
Marking it as the solution helps both the community and me - thanks in advance!
0 Upvotes
MarcosBarcelos
Contributor

Roles Endpoint Error

Hi @JLim063 ,

Well, by the error, I recommend you see the permission of this account. You can see the configurations on the tab Account Management -> User  & Teams, Look if the account has the Super Admin permission. If you have already seen what I recommended, you can see this post https://community.hubspot.com/t5/APIs-Integrations/How-can-retrieve-roles-with-users/td-p/1018767 . Maybe it helps you with your problem.

MarcosBarcelos_0-1746897053083.png

 

Captura de tela 2025-04-23 202119.png

 

0 Upvotes