Hi,
I’m getting the below error message while posting the request to the orchestrator. Please guide to resolve this issue.
Note: The same process is working fine while running through swagger UI \ manually from orchestrator
ERROR
{
"message": "The job's associated process could not be found",
"errorCode": 1002,
"resourceIds": null
}
POST URL: {{strOrchestrator_URL}}/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs
HEADER
{
Content-Type: application/json
Authorization: Bearer{token}
**X-UIPATH-OrganizationUnitId: 1**
**X-UIPATH-TenantName: DEV**
}
BODY
{
"startInfo" :
{
"ReleaseKey" : "{{strReleaseKey}}",
"Strategy" : "Specific",
"NoOfRobots" : 0,
"RobotIds" : [{{iRobot_ID}}],
"JobsCount": 0,
"Source": "Manual",
"InputArguments": "{\"in_Date\":\"20/05/2020\",\"in_strFromCity\":\"Delhi\",\"in_strToCity\":\"Mumbai\",\"in_intPassCount\":\"03\"}"
}
}