Hi there,
I got an error below by posting to https://api.hubapi.com/crm/v3/schemas
{
“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”: “c3c0c98a-df54-43f4-be89-2d68582dabd9”,
“links”: {
“support”: “https://help.hubspot.com/”,
“forum”: “https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations”
},
“category”: “MISSING_SCOPES”
}
I did thru postman with the conditions that:
- I created a private app in hubSpot
- As authrization I set up Barear Token
Appreciate if you can help
Hey @jspkevin,
Just to confirm, you are using the Custom Object Schema endpoint to define your own custom object type in HubSpot? A couple of things to check:
- Do you have an enterprise subscription to any hub - Marketing, Sales, Service, CMS or Operations? Custom objects are an enterprise feature and the scope is only available to portals with that subscription type.
- If you do have an enterprise subscription then are you certain you’ve correctly added the scope to your private app? The endpoint requires crm.objects.custom.read or crm.schemas.custom.read. You’ll need to ensure within your private app you’ve something similar to below:
Hi @coldrickjack
I did setup the private app scope but did not subscribe the enterprise plan. I will try that first.
Thanks so much,