Hi everyone!
I’m having an error trying to create a Custom Object. Even if I tried many different ways the error is always the same:
{"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 developerforum.","correlationId":"f97cdfdf-9f3d-4592-a856-7d80675b4bff","links":{"support":"https://help.hubspot.com/","forum":"https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations"},"category":"MISSING_SCOPES"}
I am following the directives at Accounts Dashboard | HubSpot so I am posting to https://api.hubapi.com/crm/v3/schemas .
These are all the things I tried and that got me to the same result
- Using a developer account and also the production account
- Adding the ?portalId=12345 param to the query string
- Authenticate using either API Key or Private App with a bearer token (the app has every single scope enabled)
- Posting the exact documentation example or a custom build body
- Posting from: postman, console, documentation site (test call)
What is confusing is that if you hit the “Run in Postman” button on the documentation page, the collection you get created points to cmr/v3/objects instead of, cmr/v3/schemas. You get a 404 when you call there.
I am gessing there was a change on the API but I am not sure if that is related with this issue. I’m suspecting that because I have the crm.objects.custom.write scope (old version?) but I am missing the crm.schema.custom.write, that doesn’t exist.
Any help?
I honestly run our of ideas.