Hello HubSpot Community,
I am currently working on integrating HubSpot OAuth with a backend and frontend application for a project. The project has two parts : One, HubSpot Integration & Second, Loading HubSpot Items using access token received from part 1. While integrating the HubSpot API, I encountered an issue related to the account types needed for specific tasks.
I was able to successfully authenticate users and retrieve an access token when using my developer account. However, when attempting to add CRM objects such as contacts, companies, and deals, I encounter the error: “Couldn’t complete the connection. The account you selected “hubspot id” is a developer account. This app can’t be installed on a developer account.”
From my research, I understand that a non-developer account is required to access CRM-related endpoints. However, when I try creating an app with a non-developer account, I receive an access token and client secret, but I do not get a client ID, which is required as per the part 1 of the project where i need client ID and Client Secret to build backend as a result of which I’ll get access token from a callback function after successful authentication.
My goal is to complete the integration using a single account, but I am currently facing a challenge due to these limitations with the account types. Could anyone advise on how I can achieve both OAuth authentication and CRM task integration (contacts, companies, deals) using one account, or if it’s necessary to use separate accounts for completing both the parts of the project?
Any insights or guidance would be greatly appreciated!
Thank you in advance for your support.
Best regards,
Shwetank