Question
Runtime Error while registering Robot
Hi,
I am trying to register a robot for RPA and while registering following error messages are coming in the log file.
Registering Robot step1 - Name: , Queue:
Error requesting data from Pega. http://localhost:8080/prweb/api/v1/cases
Code: Unauthorized(401), Content: System.Threading.Tasks.Task`1[System.String]
RoboticsService.Start() - Unable to acquire RobotInfo.
I have provided correct credential in config. However, While accessing pega api through browser, I am getting correct response. It looks like authorization issue. Is there anything else i should check at configuration level?
Thanks,
Nikunj
***Moderator Edit: Vidyaranjan | Updated Categories***
Have you supplied credentials to the Runtime using the Enter RPA Credentials menu item on the Runtime tray menu? You must enabled this menu item in the RuntimeConfig.xml as the first step.
<MenuItem item="RPACredentials" label="Enter RPA Credentials..." show="true" />
Then using this menu item supply the credentials that the robot is to use. Remember, you can not register a robot while running from Studio.