Missing Scopes

Hi,

I’m trying to read product informations using API, but the response is:

“This app hasn’t been granted all required scopes to make this call. Read more about required scopes here: Scopes - HubSpot docs

I checked available scopes and I discovered that with my private app it is not possible to have read/write access to the products in CRM, even if the call is included in the API.
There’s a solution?
Thank you all in advance.

Antonio

@ACriscenti - note that available scope settings are sometimes limited by the HubSpot subscription level and type - Pro/Enterprise etc., Sales/Service/Ops, etc.

Steve

Hey, @ACriscenti :waving_hand: Which scope are you trying to add? I noted in the Products knowledge base article that this is available to all subscription levels. There isn’t a `products` scope available. What you need is the `e-commerece` scope.

  • Request

    curl --request GET \
     --url 'https://api.hubapi.com/crm/v3/objects/products?limit=10&archived=false' \
     --header 'authorization: Bearer YOUR_ACCESS_TOKEN'
    
  • Response

    HTTP 200
    
    {
     "results": [
     {
     "id": "1542506300",
     "properties": {
     "createdate": "2022-07-12T20:47:27.950Z",
     "description": null,
     "hs_lastmodifieddate": "2022-07-12T20:47:27.950Z",
     "hs_object_id": "1542506300",
     "name": "test_product",
     "price": "1"
     },
     "createdAt": "2022-07-12T20:47:27.950Z",
     "updatedAt": "2022-07-12T20:47:27.950Z",
     "archived": false
     },
     {
     "id": "1543026004",
     "properties": {
     "createdate": "2022-07-12T21:36:06.765Z",
     "description": null,
     "hs_lastmodifieddate": "2022-07-12T21:36:06.765Z",
     "hs_object_id": "1543026004",
     "name": null,
     "price": null
     },
     "createdAt": "2022-07-12T21:36:06.765Z",
     "updatedAt": "2022-07-12T21:36:06.765Z",
     "archived": false
     },
     {
     "id": "1545944999",
     "properties": {
     "createdate": "2022-07-13T21:13:26.687Z",
     "description": null,
     "hs_lastmodifieddate": "2022-07-13T21:13:26.687Z",
     "hs_object_id": "1545944999",
     "name": null,
     "price": null
     },
     "createdAt": "2022-07-13T21:13:26.687Z",
     "updatedAt": "2022-07-13T21:13:26.687Z",
     "archived": false
     },
     {
     "id": "1545947753",
     "properties": {
     "createdate": "2022-07-13T21:21:36.128Z",
     "description": "Amazing cats for hire!",
     "hs_lastmodifieddate": "2022-07-13T21:21:36.128Z",
     "hs_object_id": "1545947753",
     "name": "Cats on Bikes",
     "price": "6000"
     },
     "createdAt": "2022-07-13T21:21:36.128Z",
     "updatedAt": "2022-07-13T21:21:36.128Z",
     "archived": false
     },
     {
     "id": "1567706789",
     "properties": {
     "createdate": "2022-08-02T21:25:24.783Z",
     "description": "Amazing cats for hire!",
     "hs_lastmodifieddate": "2022-08-02T21:25:24.783Z",
     "hs_object_id": "1567706789",
     "name": "Cats on Bikes2",
     "price": "6000"
     },
     "createdAt": "2022-08-02T21:25:24.783Z",
     "updatedAt": "2022-08-02T21:25:24.783Z",
     "archived": false
     },
     {
     "id": "1629259909",
     "properties": {
     "createdate": "2022-10-18T16:53:57.839Z",
     "description": "3-ring cat circus",
     "hs_lastmodifieddate": "2022-10-18T16:53:57.839Z",
     "hs_object_id": "1629259909",
     "name": "Implementation Service ",
     "price": "60000.00"
     },
     "createdAt": "2022-10-18T16:53:57.839Z",
     "updatedAt": "2022-10-18T16:53:57.839Z",
     "archived": false
     },
     {
     "id": "1659665537",
     "properties": {
     "createdate": "2022-11-15T18:02:30.520Z",
     "description": "Onboarding service for cat motorcycle riders",
     "hs_lastmodifieddate": "2022-11-15T18:02:30.520Z",
     "hs_object_id": "1659665537",
     "name": "Implementation Service ",
     "price": "6000.00"
     },
     "createdAt": "2022-11-15T18:02:30.520Z",
     "updatedAt": "2022-11-15T18:02:30.520Z",
     "archived": false
     },
     {
     "id": "1680544781",
     "properties": {
     "createdate": "2022-11-29T22:34:41.567Z",
     "description": "Cats in space. What could go wrong?!",
     "hs_lastmodifieddate": "2022-11-29T22:34:41.567Z",
     "hs_object_id": "1680544781",
     "name": "Rocket for Two Cats",
     "price": "60000"
     },
     "createdAt": "2022-11-29T22:34:41.567Z",
     "updatedAt": "2022-11-29T22:34:41.567Z",
     "archived": false
     },
     {
     "id": "1744257209",
     "properties": {
     "createdate": "2023-01-10T17:42:52.195Z",
     "description": "Who needs low-speed?!",
     "hs_lastmodifieddate": "2023-01-10T17:42:52.195Z",
     "hs_object_id": "1744257209",
     "name": "High speed ramp for cats",
     "price": "60000"
     },
     "createdAt": "2023-01-10T17:42:52.195Z",
     "updatedAt": "2023-01-10T17:42:52.195Z",
     "archived": false
     },
     {
     "id": "1789191216",
     "properties": {
     "createdate": "2023-02-02T18:12:37.702Z",
     "description": null,
     "hs_lastmodifieddate": "2023-02-02T18:12:37.702Z",
     "hs_object_id": "1789191216",
     "name": "Apple",
     "price": "1"
     },
     "createdAt": "2023-02-02T18:12:37.702Z",
     "updatedAt": "2023-02-02T18:12:37.702Z",
     "archived": false
     }
     ],
     "paging": {
     "next": {
     "after": "1789191217",
     "link": "https://api.hubapi.com/crm/v3/objects/products?hs_static_app=developer-docs-ui&hs_static_app_version=1.10747&limit=10&archived=false&after=1789191217"
     }
     }
    }
    

I hope that helps get you moving forward! — Jaycee

Hi Jaycee,

very thank you for the skill. Now I can access to the informations I need.
:flexed_biceps: