Error fix for Robot job process faulting with error #1680.
Error Description: The error #1680 translates to a generic Orchestrator error code: JobExecutionFaulted.
One scenario where the #1680 error can appear is when Unattended Robots are trying to start after being triggered or manually started from Orchestrator. Failure is immediate with nothing being written to the Job Log. Since the error is generic, it is not limited to just this scenario.
Resolution: Check the following
- Ensure the Machine login credentials in the Robot setup are still valid.
- Verify the directory defined in %userprofile%/.nuget is accessible by the Robot / User.
- Verify the Certificate thumbprint is configured correctly in appsettings.production.json file.
- Make sure the Robot user has the Robot Role assigned
- Login to Orchestrator > Tenant > Folders > Click on Test Folder > See if the user is added into the Folder(if not please add) > Make sure Robot Role is provided.
- Login to Orchestrator > Tenant > Users > Click on More Actions for the Robot user > Edit > User Details > Roles > Check if Robot Role is added(if not please add) > Click Update.
If none of these checks help to resolve the issue, then share the following information:
- Are the affected Robots installed in user mode or service mode?
- Reproduce the issue and share with below logs:
- IIS logs from Orchestrator machine in folder %SystemDrive%\inetpub\logs\LogFiles\
- Execution logs from Robot machine in folder %LocalAppData%\UiPath\Logs\xxxx-xx-xx_Execution.log
- Event Viewer Logs of both Robot and Orchestrator
- Screenshot of the Job Details with the error from one that has been manually started.
Example: