Unable to Trigger BOT having Attended License through API

Hey Team,

I need to know if it is possible to Start Job on BOT having Attended License using API.
I have tried staring JOB by providing below body during ‘API’ calls.

{
“startInfo”: {
“ReleaseKey”: “Release Key of JOB”,
“RobotIds”: [22],
“JobsCount”: 0,
“JobPriority”: “Normal”,
“Strategy”: “Specific”
“InputArguments”: “{}”

}
}

The specified BOT is having Attended License and It is failing.
Let me know the resolution for this.
if possible, Please provided the required steps.
If not possible, let me know, is there any way in which we can directly interact with Robot Service (on machine) rather than using Orchestrator as Intermediary.

Thanks

You have to use release key of the specific process. Can you share the details like what is exact response when you’re hitting the api call.

You can refer below like also . search for start a process in it.

Hello @Mr.StarLord_AO ,

I have used proper Release key When making the call. I just didn’t paste in the topic here.

Find the screenshot of Response I am getting when making API call…

image

Let me know if anything is needed…

check if you pass X-UiPath-OrganizationUnitId value correctly and robot presents in that particular folder.

if still it fails , see this thread , have faced issue when robot configured as attended user.

So,Changing it to Non production or production might help.

Hey @Mr.StarLord_AO ,

X-UIPATH-OrganizationUnitId is proper. Infact, with Unattended BOT we can execute the job without any issue.
we are trying to do the same using BOT with Attended License. Kindly let us know if there is any way we can achieve this.

Also, let me know If there is any way to directly make call to Robot (installed on machine) to start Process, instead of using Orchestrator in Intermediary.

Thanks in Advance.