APIs & Integrations

lauracallrail
Member

Intermittent error - User does not have permission on portal

Hi Support - 

 

For a shared customer, we are seeing an intermittent error returned of: User xxxxxxx does not have permissions on portal xxxxxxxx

 

This is being returned for get requests on the /contacts/v1/search/query endpoint

 

Prior get requests for that same user authorization (against the same endpoint) were successful, and when the user re-authorizes, subsequent requests are successful. 

 

The customer confirmed that the user still exists/is active and they still have Admin-level permissions. Any thoughts on what could be causing this?

 

Thank you!

0 Upvotes
4 Replies 4
WendyGoh
HubSpot Employee
HubSpot Employee

Intermittent error - User does not have permission on portal

Hi @lauracallrail,

 

I hope all is well with you 😄

 

This issue sounds similar to the one discussed here and here.

 

To help dig into things further here, do you mind sharing with me the user ID and the Hub ID? 

0 Upvotes
lauracallrail
Member

Intermittent error - User does not have permission on portal

Hi @WendyGoh thanks & same to you!

 

User ID: 5389309

Hub ID: 1546852

 

Thank you!

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

Intermittent error - User does not have permission on portal

Hi @lauracallrail,

 

Thank you for sharing that across!

 

Digigng into this, it looks like user id 5389309 isn't currently a user in hub id 1546852. This is likely why they're getting the following error:

User xxxxxxx does not have permissions on portal xxxxxxxx
0 Upvotes
lauracallrail
Member

Intermittent error - User does not have permission on portal

Thank you! I'll respond to our customer. We appreciate the help. 

0 Upvotes