This happens while using only “start job activity” in unattended test case
“You are not authorized! Error code: 0”
This happens while using only “start job activity” in unattended test case
“You are not authorized! Error code: 0”
Hi @HariRam
Can you show how have you configured the activity?
hi @HariRam
this can happen because the account running the test case doesn’t have permission to start jobs in Orchestrator even if the process runs fine normally, the test runner uses your user/robot permissions, and if “Jobs >> Create” isn’t allowed, Orchestrator can return “You are not authorized”
make sure the user or robot assigned to that folder has permission to create jobs and view/execute processes, affter adjusting the role, run the test again, it should work ![]()
If this helped, feel free to mark it as the solution so it can help others too ![]()
This issue happens when the user doesn’t have permission to start jobs in Orch.
Even if the process runs normally, it uses the user/robot permissions, so missing “Jobs → Create” access can cause the error.
To fix it, update the user or robot role to allow creating jobs and running processes. After updating the permissions, run the test again—it should work.
Hi @HariRam
give the robot or user Jobs and Processes permissions in the Orchestrator folder and ensure the process is assigned there.
Pls check below link for more:
If helpful, mark as solution. Happy automation with UiPath
Hi @HariRam
Glad to hear your issue resolved. Kindly consider closing this topic by marking the post that helped as a solution.