Versions Compared

Key

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

In this article

Table of Contents
maxLevel2
absoluteUrltrue

Overview

Use this account type to connect HubSpot Snaps Snaps with data sources that use HubSpot Oauth accounts.

Prerequisites

Limitations and Known Issues

None.

Account Settings

...

Info
  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ( (blue star) ): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( (blue star) ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( (blue star) ): Indicates that you can add fields in the fieldset.

  • Remove icon ( (blue star) ): Indicates that you can remove fields from the fieldset.

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

String

Specify the 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

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

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.

Snap Pack History

Insert excerpt
HubSpot Snap Pack
HubSpot Snap Pack
nameHubSpot_SPH
nopaneltrue

...

Related Content