Adding a new Customer Object cannot be done on live instance
SOLVE
I did some prototyping for HubSpot on a test instance and added Custom Objects through the https://developers.hubspot.com/docs/api/crm/crm-custom-objects. Now I resolved all the issues there and wanted to execute this on our Live instance of HubSpot.
Unfortunately I get an error as the scope is not defined or is not public. Is there anything I can do to get this running?
HTTP 403
{
"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": "8-------------------------d",
"links": {
"support": "https://help.hubspot.com/",
"forum": "https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations"
},
"category": "MISSING_SCOPES"
}
Then you should try to use HubSpot API key. Be careful with this API key - it provides full access to your entire portal!
Any Enterprise account can create, read, and update custom objects using API key authentication.
In the HubSpot Developer Slack, a user also wrote that you should still set the following scopes: crm.schemas.custom.read, crm.objects.custom.read, crm.objects.custom.write
In the Marketplace there is the App "Easy Custom Objects Create and modify existing custom objects inside your HubSpot portal", which may also help you.
Hope this helps getting the Custom Objects created.
Then you should try to use HubSpot API key. Be careful with this API key - it provides full access to your entire portal!
Any Enterprise account can create, read, and update custom objects using API key authentication.
In the HubSpot Developer Slack, a user also wrote that you should still set the following scopes: crm.schemas.custom.read, crm.objects.custom.read, crm.objects.custom.write
In the Marketplace there is the App "Easy Custom Objects Create and modify existing custom objects inside your HubSpot portal", which may also help you.
Hope this helps getting the Custom Objects created.
are you maybe using the https://api.hubapi.com/crm/v3/schemas endpoint and oauth token? Then you should try to use HubSpot API key. Be careful with this API key - it provides full access to your entire portal!
Any Enterprise account can create, read, and update custom objects using API key authentication.
In the HubSpot Developer Slack, a user also wrote that you should still set the following scopes: crm.schemas.custom.read, crm.objects.custom.read, crm.objects.custom.write
In the Marketplace there is the App "Easy Custom Objects Create and modify existing custom objects inside your HubSpot portal", which may also help you.
Hope this helps getting the Custom Objects created.