When i am running unattended bot its failing and its working fine when i running same in attended mode

Alright then. I think there’s a high possibility of resolution problem. And it’s because the production robot must have the same resolution as the machine you designed your workflow in. Please go to Orchestrator and open up your unattended robot and in the settings section of your robot, do the actions I’ve explained above. After you set the settings, go to your robot’s machine and open up Services in Windows and restart UiPath Robot service.