Salesforce broker cannot be registered due to an error appearing

  • 16 February 2021
  • 0 replies
  • 43 views

Userlevel 5
Badge +20
 

Salesforce broker cannot be registered due to an error appearing

kbt144549

PRODUCT
K2 Cloud
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

The Salesforce broker cannot be registered due to the following error:

 

Image

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.

 

Please note that Full HostServer logging will need to be enabled to expose the full 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?

 

 

 

 


0 replies

Be the first to reply!

Reply