Error 403 in HubSpot API When Converting Property into Search Option

,

Hello community,

I find myself in the midst of a technical dilemma and need your help to understand and solve an issue with the HubSpot API. My account is on the Sales Pro plan.

Context:

In my project, I have a property that is project_code of the Deal object. My task is to convert this property into a search option.

Current Issue:

Recently, when attempting to perform the same action, I am faced with a 403 error that states: “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.”

Attached image:

What baffles me is that all the necessary scopes are activated, and I have not made significant changes that could explain this error.

Attached image:

If anyone has experienced this issue or has any suggestions on how to approach it, I will be eternally grateful for your guidance.

Thank you very much for your time and assistance!

Hi @NelsonS I hope you are well.

I’ve already unswer this in the Spanish Community

but here’s a recap:

1) Check the Scope of your API. Have in mind that to access deals by API, you must also have enabled the access to Business (since they are 2 dependent objects).

2) keep in mind that if a property is already in use you will not be able to modify the type of property (for example, change from text to dropdown).

In that case you should try creating a new property

and then migrate the information from the old property to the new one.

3)To learn more about this I recommend one of the new Academy Certifications: Integrating with HubSpot I: Fundamentals.

I hope you find it helpful.

Regards

Hi @Lucila-Andimol, the goal is not to convert the format type, but I meant that you can add that property in the search of the Deal object view. By default it is configured with the pipeline, dealname, dealstage, description and dealType properties.