Hello,
I want to start a job using API. I have been following tutorial from this tutorial but I keep encountering errors.
{
"message": "You are not authenticated!",
"errorCode": 0,
"result": null,
"targetUrl": null,
"success": false,
"error": {
"code": 0,
"message": "You are not authenticated!",
"details": "You should be authenticated (sign in) in order to perform this operation.",
"validationErrors": null
},
"unAuthorizedRequest": true,
"__abp": true
}
API Body
{
"startInfo": {
"ReleaseKey": "52226e00-xxxx-xxxx-xxxx-xxxxxxxxx",
"JobsCount": 1,
"Strategy": "Specific",
"InputArguments": "{}",
"MachineRobots": [
{
"RobotId": 100809,
"MachineId":117452
}
]
}
}
API Header
"X-UIPATH-OrganizationUnitId" : "55412"
is there anything wrong? Thank you!