Start Job from postman

Hi all ,

I am trying to start a job via postman .when i hit the startjob endpoint i status code as 409 conflict .
error message is: “non production runtime license selected .There are no non production runtime license configured on the template of the folder”

Body is
{
“startInfo”: {
“ReleaseKey”: “GIVEN THE RELAESE KEY HERE”,
“RobotIds”: ,
“JobsCount”: 1,
“JobPriority”: “Normal”,
“Strategy”: “ModernJobsCount”,
“RuntimeType”: “NonProduction”,
“InputArguments”: “{}”
}
}
please help

Hi,

I hope you are using community edition. Pls allocate the proper license to the bot.

Navigate
Admin → Licenses → Users

image

and
Admin → Licenses → Robots and Services

Regards,
Muthu G

No ,it is Enterprise edition

Then its very simple.

Check the robot license type. It should be non production

Thanks Muthu .Is there is any way to make it work on Production instead of Nonproduction? we don’t have nonproduction license in Production

Check this approach StartJobs api call error code 400 - #5 by marian.platonov

You can try to change the “RuntimeType”: “Unattended” or update according to your type of license

1 Like

Thanks it was helpful .Although I could to trigger the process now status shows faulted I guess it is not able to select the machine .Can you please on how to specify the machine details in body

{
“startInfo”: {
“ReleaseKey”: “6aa992f0-b39c-4a0d-b02c-ad16f05xxxxx”,
“JobsCount”: 1,
“JobPriority”: null,
“SpecificPriorityValue”: null,
“Strategy”: “ModernJobsCount”,
“ResumeOnSameContext”: false,
“RuntimeType”: “Unattended”,
“RunAsMe”: false,
“InputArguments”: “{‘id’:‘1’}”,
“MachineRobots”: [
{
“MachineId”: 2459xxx
}
]
}
}

machine ID and Machine Key are the both same ? how can we get this Machine ID.

Sorry for so many doubts .

you can get the details

/odata/Releases and /odata/Machines

If you need more details about odata follow the below link

https://docs.uipath.com/orchestrator/reference/about-odata-and-references

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.