Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Thycotic - Test Connection Error

aalvarez_mk
New Contributor II
New Contributor II

I onboarded the Thycotic REST Template and have not been able to get a successful connection. I validated the account used is able to generate an access token, access token can be used to pull users (using /api/v1/users?filter.includeInactive=true&take=1&skip=0, and the server URL is correct. Has anyone seen anything similar?

In logs I see the following info

- Calling https://<SUBDOMAIN>.secretservercloud.com/oauth2/token

- pullObjectsByRest - responseStatusCode ::403

- Exception in pullObjectsByRest :403

7 REPLIES 7

rushikeshvartak
All-Star
All-Star

Does it works from postman 

Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

It does work in Postman. Curl from Postman: curl -X GET "https://<SUBDOMAIN>.secretservercloud.com/api/v1/users?filter.includeInactive=true&take=1&skip=0"  -H "Authorization: Bearer {Insert Token}"

@rushikeshvartak  I also had them reenter the password in the connection JSON and test again. It now shows successful but the import fails with the same error logs. However, we do see the access token being set in the log.

share import json


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Using OOTB config. Attached.

change  "Authorization": "${accessToken}", to  "Authorization": "${access_token}"


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

That appears to have resolved the issue. Appreciate the assistance. Strange the template has the wrong variable definition.