Salesforce API skills; Error in "GetTokenActive" in authenticate credential process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-03-21 01:06 PM
When I am running "GetTokenActive" step in authenticate page, I am getting the below error.
------------------------------
Navitha K
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-03-21 04:13 PM
Can you confirm that you're running the test process available from the DX? If so, can you also confirm that the Authenticate stage, just before the GetTokenActive stage returned a successful response? In other words you received an access token and instance URL value?
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-03-21 01:22 PM
Thank you for the response.
I am running the test process which is available from the DX.
In the Authenticate stage, I am getting http status code as 200 and also instance URL value. But when I am running GetTokenActive stage, it is getting failed.
------------------------------
Navitha K
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-03-21 03:38 PM
An additional step you can take to verify those values is to go into System -> Objects -> Web API Services and open the Salesforce Authentication service definition. Click on the Salesforce Token Introspection action and check the flags next to Enable Request Data Output Parameter and Disable Sending of Request. After that, go back to your test process (make sure to click the reload button if it was already open so it picks up the changes in the Web API) and double-click on the GetTokenActive stage. Go to the Outputs tab and create a new data item for the Request Data output. Then run the process and see what the request includes in the body. It should look something like this:
token=[Access Token]&client_id=[Consumer Key]&client_secret=[Consumer Secret]&token_type_hint=[token_type_hint]
Compare the values of Consumer Key and Consumer Secret with your credential from SFDC.
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-21 03:25 AM
------------------------------
Navitha K
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-21 01:43 PM
Anyway, back to the issue at hand. One thing I noticed in my copy of the test process is that no value was set for the input Login URL on the GetTokenActive stage. Can you confirm that you've set the value for that to [Instance URL] ?
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-21 03:47 PM
------------------------------
Navitha K
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-21 04:03 PM
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-21 04:54 PM
I also tried with the login value to https://login.salesforce.com but still it is showing the error.
------------------------------
Navitha K
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-21 04:55 PM
------------------------------
Navitha K
------------------------------
