and more in a single search tool across platforms. Read the announcement here. |
03/13/2024 01:15 PM
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
Solved! Go to Solution.
03/13/2024 03:17 PM
Does it works from postman
Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
03/14/2024 07:46 AM
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}"
03/14/2024 07:48 AM
@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.
03/14/2024 08:50 PM
share import json
03/15/2024 07:03 AM
03/17/2024 06:31 PM
change "Authorization": "${accessToken}", to "Authorization": "${access_token}"
03/18/2024 09:12 AM
That appears to have resolved the issue. Appreciate the assistance. Strange the template has the wrong variable definition.