Salesfoce Connection using Integration Service

Hi everyone, I’m trying to connect to a Salesforce account using Orchestrator Connections. The connection to the Salesforce account works, but I’m getting an error with OAuth. Has anyone else had a similar experience and can help me out? Thanks in advance!

@Julien_Sanchez-Baldeon

Welcome to the community

Did you check on the scopes if they are proper?

Please check permissions here Integration Service - Salesforce authentication

cheers

Hello @Julien_Sanchez-Baldeon,

The error in your screenshot OAUTH_APPROVAL_ERROR_GENERIC is usually a Salesforce-side approval problem, not an Orchestrator-side connectivity problem. With UiPath’s Salesforce connector, the default OAuth 2.0 Authorization Code flow uses the public UiPath application, and Salesforce can block authorization if the connected app is not approved/installed for that org or user.

Please refer to docs:

  1. OAuth 2.0 Username-Password Flow Blocked by Default in New Orgs - OAuth 2.0 Username-Password Flow Blocked by Default in New Orgs
  2. OAuth 2.0 Username-Password Flow for Special Scenarios - OAuth 2.0 Username-Password Flow for Special Scenarios

Thanks,
Karthik