APIs & Integrations

lakshmipriya627
Member

Creation of Product using API - OAuth 2.0

We have a HubSpot Account with OAuth 2.0 App installed with necessary scopes to create a Product. But, when the OAuth App was installed in the HubSpot Account, the account was in Lower Plan in which the Product feature was not enabled. Later we upgraded the plan to Enterprise plan. Now, when we try to create a Product through the installed OAuth 2.0 API, the Creation API still throws 403 - Forbidden Insufficient scopes error. 

 

When I try to create a Product through UI, its working. Requesting help here.

 

API - "POST/crm/v3/objects/products"

0 Upvotes
4 Replies 4
lakshmipriya627
Member

Creation of Product using API - OAuth 2.0

Hey @dennisedson abd @Teun 
Thanks for the response. 
We had all necessary scopes while installing the OAuth app. 

 

I am afraid that the OAuth app is not refreshed after the HubSpot Account is upgraded or downgraded to a new plan as we noticed that re-installing the app allows the creation of Product through API.


Uninstalling and reinstalling the app definitely works fine but we are looking for some solution which will not involve re-authentication. 


Any work around without reauthentication would be much appreciated.

 

Thanks in advance.

dennisedson
HubSpot Product Team
HubSpot Product Team

Creation of Product using API - OAuth 2.0

I do not believe that there is a workaround for this.  I can see that it can be a pain point.  I would suggest creating an idea (add link here so we can upvote).

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes
Teun
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Creation of Product using API - OAuth 2.0

Hi @lakshmipriya627 and @dennisedson ,

 

Gotta agree here, try uninstalling and installing the integration again.



Did my answer solve your issue? Help the community by marking it as the solution.
dennisedson
HubSpot Product Team
HubSpot Product Team

Creation of Product using API - OAuth 2.0

@lakshmipriya627 

Did the person who installed the app have the necessary scoped after the plan changed?  I would suggest confirming that and reinstalling the app. 

@Teun , see anything else that might be an issue?

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes