Dear AA community,
While I run a task then I stopped it. Now It showing pending execution error.

Dear AA community,
While I run a task then I stopped it. Now It showing pending execution error.
Best answer by rbkadiyam
Cause
The device either has an ongoing deployment or has a stuck entry of a failed task execution. You can validate this on the Activity > In-Progress tab.
We need to reset the device from API if we are unable to view the running bot in the activity tab.
Resolution/Workaround
Stop the active deployment on the device from the Activity > In-Progress tab.
Or
Follow the below article to reset the device:
"BOT stuck in In Progress Stage and not able to move it to history" or "BOT stuck in Pending execution Stage and not able to move it to history" on Automation 360 CLOUD and On-Prem environments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.