Trying to retrieve an Asset or Credential from Orchestrator. My Robot and Orchestrator are linked, and processes can be run on the robot from Orchestrator. These Assets can be accessed by others on Orchestrator. I have double chacked the Roles available to Robot and View Assets is checked. I have tried different versions of UiPath.Credentials.Activities as well as restarting UiPath and my machine.
- Set up an Asset or Credential on Orchestrator.
- Get Asset/ Get Credential Activity and enter the name of the Asset/Cred into AssetName field.
I receive the following error message:
GetAssets has thrown an exception
Source: Get Asset
Exception Type: OrchestratorHttpException
at UiPath.Core.Activities.HttpStatusCodeExtension.OrchestratorEnsureStatusCode(HttpResponseMessage response)
at UiPath.Core.Activities.BaseAssetActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Asset should be returned as a string.