Start job error - DEV tenant


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


    "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


Content-Type: application/json
Authorization: Bearer{token}
**X-UIPATH-OrganizationUnitId: 1**
**X-UIPATH-TenantName: DEV**


	"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\"}"

There was a typo mistake in title, the correct title is “Start job error - DEV tenant”

1 Like

I don’t use tenants myself, but building a basic post (ReleaseKey, Strategy, JobCount) I have no issues starting a job.

Without more details, my guess is the Release Key or Robot Ids is incorrect.

To ease troubleshooting, I would start a job in Orchestrator Web UI while inspecting your browser requests and use that to compare your Request headers and payload that you are building is the same as what Orchestrator generates for itself.

1 Like