Code: InternalServerError(500), Content: System.Threading.Tasks.Task`1[System.String] when running OpenSpan
Hello,
I am having trouble reconnecting to my robot in the console. When I run OpenSpan Runtime, it quickly closes and it gives me the error in above. I am able to retrieve the json file containing case data using my credentials but when I try it with the robot's credentials, it gives the 500 server error. Is it something with the privileges? Also, does RPA still need to be set to true even though the robot has already been registered to the console?
Thanks in advance!
UPDATE 05152018:
This could be due to the robots not making any cases. I can only retrieve case data of the cases I created as well as another worker. So if the robot didn't make any cases, its not going to extract anything. How can I fix it so that it pulls all cases?
***Edited by Moderator Marissa to update SR Details***
Hi!
Turns out that because the robot was taking in multiple cases the first time my automation ran, it would get held up and not shut down properly. So the robot was still ready to take cases even though the runtime was not running which is abnormal (Proper shut down should have the robot's state as "Stopped"). If you try to re-establish that connection again, Pega realizes that the robot is already there, not register the robot, and quit the runtime.
The solution was to delete the registered robot operator ID, make the automation event link asynchronous (so that for every case it processes it has its own thread to work on), clean, rebuild, and deploy the project.
Another thing to note is that I am using Robot Manager Version 1 and Robotics Studio 1058 which are the first iterations of robotics.
Thanks,
Sam