Salesforce broker cannot be registered due to an error appearing
kbt144549
PRODUCTIssue
The Salesforce broker cannot be registered due to the following error:
Symptoms
The error appears as follows:
"Error","SourceCode.SmartObjects.ServiceBroker [ExecuteSmartObject]","10702 An error occurred in the K2_Management Service Instance. System.Exception: OAuth token requires authorization.
Callback URL: https://login.salesforce.com/services/oauth2/authorize
Resolution
This issue has been corrected in K2 Cloud Update 3, the token is not authorized and the registration is giving the end user the authorization URL.
Workaround 1 (Construct your URL by replacing the parameters values):
- Redirect_url
- Client_id
- PrimaryCredentialID
- Resource ID
Workaround 2
By trying the below URL and allowing the App to configure the Salesforce "Feature" you will be successfully authenticated.
Execute the Callback URL: https://login.salesforce.com/services/oauth2/authorize?