APIs & Integrations

MOkano
Member | Elite Partner
Member | Elite Partner

I can't update a contact using /settings/v3/users/{userId}

Whenever I try to update a user, for example: add a primaryTeamId, using User Provisioning API, I get this response:

 

{
    "status": "error",
    "message": "The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.",
    "correlationId": "---",
    "links": {
        "support": "https://help.hubspot.com/",
    },
    "category": "MISSING_SCOPES"
}

I'm using OAuth 2.0 and I configured the scopes: settings.users.write andsettings.users.read in my app, but it didn't work...

0 Upvotes
2 Replies 2
webdew
Guide | Diamond Partner
Guide | Diamond Partner

I can't update a contact using /settings/v3/users/{userId}

Hi @MOkano ,

If you have added the scopes than it should work however you can try to authorize it with hapikey .

Hope this helps!


If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards. 

dennisedson
HubSpot Product Team
HubSpot Product Team

I can't update a contact using /settings/v3/users/{userId}

@agkish , @nimishgoray , @RSalo3  any of you able to help here?

0 Upvotes