Error: This Integration Is Not Eligible to Use the Legacy /v1/requestToken
Endpoint
Issue
While setting up my connector, setup tests fail with the following error:
{"message":"This integration is not eligible to use the legacy /v1/requestToken endpoint because the integration uses enhanced OAuth 2.0 functionality. To obtain a token for this integration, use the applicable Marketing Cloud OAuth 2.0 endpoint for authentication. For a web or public app, use /v2/authorize and then /v2/token. For a server-to-server integration, use /v2/token.","errorcode":10007,"documentation":""}
Environment
Connector: Salesforce Marketing Cloud
Resolution
To resolve this issue, do the following:
- In Fivetran, go to your Salesforce Marketing Cloud connector page.
- Select the Setup tab.
- Click Edit connection details.
- Set the Is Enhanced Installed Package toggle to ON.
- Click Save & Test.
Cause
This issue occurs when your Salesforce Marketing Cloud instance utilizes enhanced OAuth 2.0 functionality and is not eligible to use the legacy /v1/requestToken
endpoint. Enabling the Is Enhanced Installed Package option allows us to obtain a token for your account through the appropriate endpoints using OAuth 2.0.