Hi everyone,
I am currently studying in the Orchestrator Basic course at UiPathAcademy.
After setting up a Credential asset in Orchestrator, I use GetRobotCredential in UiPathStudio, but I get the following error
(If I run the publish from UiPathStudio and then run it from Orchestrator, I can successfully get the contents of the CredentialAsset.)
資格情報を取得: この名前のアセットを見つけることができませんでした。 Error code: 1002
This means "Could not find an asset with this name. Error code: 1002
UiPath.Core.Activities.OrchestratorHttpException: この名前のアセットを見つけることができませんでした。 Error code: 1002
This is a "
UiPath.Core.Activities.OrchestratorHttpException: Could not find an asset with this name. Error code: 1002".
How can I successfully run GetRobotCredential in UiPathStudio?
The information in the following link did not solve the problem.
It seems that the same method cannot be solved because the version of UiPathAssistant (Robot) is different.
UIPathStudio & UiPathAssistant -21.4.4
If you want to any asset be it credentials or text the bot has to be connected to orchestrator
And if the orchestrator is connected we can retrieve it in studio
That you were getting the asset when connected with orchestrator
When I ran it from UiPathAssistant, I was able to get the CredentialAsset without any problem. I think the robot is able to connect to Orchestrator.
Then I checked the link you gave me and checked the GetRobotCredential property on UiPathStudio.
I am using the UiPathAcademy sample zip file without any modification and I am able to reference the CredentialAsset when I run it from Orchestrator.
So I don’t think there is a problem with the GetRobotCredential configuration.
I was able to do Publish the file without any problem.
I don’t know what settings are needed for UiPathStudio to connect to the Asset on Orchestrator when I do “Debug File” - “Run” in UiPathStudio.
Run in Orchestrator - OK
Run in UIPathAssistant - OK
Debug run in UiPathStudio - Fail
I am studying in order as per the academy video, some settings I did may be missing or wrong. I will check again.