Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

Field

Data Type

Description

Label*


Default Value: N/A
Example: HubSpot_Oauth_Account 

String

Enter a name for the account. We recommend that you update the account name if there is more than one account in your project.

Client ID*


Default Value: N/A
Example: c1a5c1750-41kk-88ba-b2l5-2283fec8g874

String

Enter the client ID associated with your HubSpot account. You can create a client ID by following the steps of the application provider. An example and its meaning can be found here.

Client secret*


Default Value: N/A
Example: <Encrypted>

String

Enter the client secret for the client ID specified above. You can create a client secrect by following the steps of the application provider. An example and its meaning can be found here.

Access token*

Default Value: N/A
Example: <Encrypted>

String

Auto-generated after authorization. The access token for your HubSpot account.

Refresh token*


Default Value: N/A
Example: <Encrypted>

String

Auto-generated after authorization. The refresh token for your HubSpot account.

Access token expiration*


Default Value: N/A
Example: 1680682595

String

Auto-generated after authorization. The access token's expiration time in milliseconds.


Auth end point config

Redirect uri*


Default Value: https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/HubSpot
Example: https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/HubSpot

StringEnter

Specify the Redirect Redirect URI , set up in the HubSpot App. Requests are redirected to this URL after app access is granted.

If your Org is configured to access the server in EMEA region, then specify the following Redirect URI

in the following format: 
https://<control-plane-name>.snaplogic.com/api/1/rest/admin/oauth2callback/<snap-pack-name>
where the <control-plane-name> corresponds to the domain part of your SnapLogic URL—elastic (global control plane) or emea (EMEA control plane).
For example:
https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/hubspot
https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/

HubSpot

hubspot

Requests are redirected to this URL after app access is granted.

Application scope*


Default Value: OAuth
Example: OAuth

String

Specify the scopes set up in the HubSpot App. Separate multiple scopes with space.

Optional scopes


Default Value: automation business-intelligence contacts content
Example: All HubSpot scopes

String

Specify the optional scopes to grant access to. Separate multiple scopes with space.

Auto-refresh token


Default Value: Deselected

Checkbox

Select to refresh the access token automatically using the refresh token. 


Troubleshooting

Error

Reason

Resolution

Couldn't Could not complete the connection.

The Install link is no longer Valid. Please Visit HubSpot's App Marketplace to install this App.

This error occurs because of specifying invalid application or optional scopes.

Verify the scopes provided are valid scopes in HubSpot 

Couldn’t complete the connection.

Insufficient scopes were provided. Please contact the app developer.

This error occurs because of insufficient scopes.

Verify all the selected scopes in the HubSpot app are provided as Application scopes in the account.

...