How to start a job through API call in Modern Folder

Hi guys i’m facing issue to start a Job into a modern folder with postman
I use this API Call
https://platform.uipath.com/CLIENT/CLIENT/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs
and set into the body the following string

“startInfo”: {
“ReleaseKey”: “(JobReleaaseKey)”,
“RobotIds”: ,
“JobsCount”: 1,
“Strategy”: “ModernJobsCount”,
“RuntimeType”: “Unattended”,
“InputArguments”: “{}”

But the response is 404 Not found

"message": "The job's associated process could not be found",
"errorCode": 1002,
"resourceIds": null

The error lies in the fact that RobotIds is void?
How could i know the RobotIds in a modern folder?

This is my modern folder scheme. Thanks

image

Hi,

Do you have “X-UIPATH-OrganizationUnitId” in the header as well?

You shouldn’t have to specify Robots. Check here UiPath Connector Guide