startJobParameters Must not be null

Hi All,

I am trying to start a job using http activity and passing the below parameters to the body

{
"startInfo":
{
"ReleaseKey":“8dacd33b-39e8-4c9b-a60e-0d5641cdfe74”,
“Strategy”: “All”,
“RobotIds”:,
“InputArguments”:,
“JobsCount”:1,
“OrganizationUnit”:16
}
}

Response:

{“message”:“startJobParameters must not be null”,“errorCode”:0,“resourceIds”:null}

Can you please help me?

Thanks in advance

Hey @Sanjit_Pal

Please remove the RobotID and InputArguments from the request body.

Thanks
#nK

Hey @Nithinkrishna,

Initially I tried with only releaseKey and Strategy but same issue.

Input arguments are required for the process

Thanks,
Sanjit

Hi @Sanjit_Pal ,

Could you try with the below Parameters only, assuming you’re using the Modern Folder.

{
"startInfo":
{
"ReleaseKey":"8dacd33b-39e8-4c9b-a60e-0d5641cdfe74",
"Strategy": "ModernJobsCount",
"InputArguments":{},
"JobsCount":1,
}
}

Source :

image

I am using the classic folder uipath version 2020.10

Then it should be filled with proper values.

Still same issue

I tried this way also, no luck :pensive:

Hey @Sanjit_Pal

Strategy is specific so you should pass the Robot IDs or make it Jobs Count & pass the count value as well.

Thanks
#nK

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