GetRobotAsset API - Need Credential Password, Get Asset APIs Are Not Working

How to troubleshoot the Orchestrator GetRobotAsset API, needing credential password and the Get Asset APIs do not work?

There is a need to obtain credential Assets from third party scripts after authenticating the User. This requirement has been added to UiPath productboard for consideration.

Workaround:

  • Create a process in UiPath to get the credentials using Get Credentials activity and store in a file/variable.
  • Trigger this process using the StartJob API request from C# code and get the credentials as output of the same.