Could someone please assist on this issue of Bot stuck at pending Execution stage?
Page 1 / 1
Hi,
Could you please confirm below steps.
Were you able to Get the authentication token with the first API call?
Have you used the Auth-token in second API call?
Could you send the json body content of the second API Call?
Hi Abhay, thank you for responding.
Yes
Yes
Yes.Please refer to screenshots attached
i have also tried this command in the body:
{ "allDevices": { } }
the resulting output:
{
"message": "Can reset only device registered by you"
}
i have also tried:
Perform the device reset with Postman using another device. Additionally, if deployment get stuck, delete the file AA-DB located in C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere
but it didnt work,
i have also tried another device and used Postman to follow the above steps again with the same results
Hi,
The Device ID seems to be wrong.
Please follow these steps to get the device ID
Go to Device page under Manage.
Click on the device that you want to remove. Since its community edition you will have only one device there and you will be able to reset only that. So reset all API call won’t be helpful here
Once you click on the device. Check the url of that page. You will get a number value at the later end. That will be you device ID. it is the numerical value mostly. So copy that and put it in you Json body in second call.
Hope this will solve your issue.
Thanks
Hi Abhay, I have managed to resolve this with your help.
I mistakenly took the name of the device as the Device ID.
Hope this helps anyone else that might face this issue in the future.