One or more of the following scopes are required.

I am using refresh tocket to read data from contact, this call is successfull. but when I am trying to read custome object, it gives me below error,

{

**"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": "f90485c7-2952-42eb-8e85-4be500b1ac3d",**

**"errors": \[**

    **{**

        **"message": "One or more of the following scopes are required.",**

        **"context": {**

            **"requiredScopes": \[**

                **"crm.objects.custom.read",**

                **"crm.schemas.custom.read"**

            **]**

        **}**

    **}**

**],**

**"links": {**

    **"scopes": "https://developers.hubspot.com/scopes"**

**},**

**"category": "MISSING\_SCOPES"**

}

I have already added mentioned scopes, but error still continues.

Hi @itvinaysharma00

If the token works for contacts access, then the scope information is not correctly set.

Make sure your company scopes are granted.

Best regards

Paulo Paiva

www.sollogica.com

Hi Paulo, my compnay scopes also granted, please refer below snapshot,

Also, I was checking with tocken API (curl --request GET \
--url https://api.hubapi.com/oauth/v1/access-tokens/). this doesn’t reflects added scopes.

Regards,

Vinay