using a private app token but I received the following error:
{ “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”: “bc8b3899-9abd-47a2-9f93-b88032927a8c”, “links”: { “support”: “https://help.hubspot.com/”, “forum”: “https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations” }, “category”: “MISSING_SCOPES” }
Other posts on this forum indicate that some API calls only support API key authentication, and not private app tokens. I was able to confirm this was the problem when I was able to make the API call when using my production account’s API key.
The problem is that I’m trying to make the same API call in my Sandbox account and I’m not able to do it because I didn’t generate an API key before the cutoff on June 15, 2022.
Is there a way to make the API call in my Sandbox account without the API key, or will I simply be unable to make those API calls? Will those API calls be unavailable once the API keys are permently disabled?
I was reading through the API documentation and noticed that the “Create an association” section had been updated to include “Private Apps” as an authentication method.
I tried to create an association with my private app token and the API call succeeded instead of responding with an error. Thanks, HubSpot team, for updating that.