Hello Guys.
I have already checked up this forum, Google and even ChatGPT but i cant find a solution.
I´m able to use the apis, get processes, check Folders and so on but i cant start jobs, im always getting a 404 error.
To get the Release Key i use this endpoint:
/odata/Releases?$filter=Name eq 'Processe_Name'
There im getting a bunch of informations.
The first key from the dictionary is the ReleaseKey, right?
Key
ProcessKey
ProcessVersion
IsLatestVersion
IsProcessDeleted
Description
Name
EnvironmentId
...
...
To start a job i use this endpoint:
/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs
as header:
{
"Authorization": f"Bearer {oax.access_token_oa}",
"Content-Type": "application/json",
"X-UIPATH-OrganizationUnitId": f"{env_id}"
}
and my body:
{
"startInfo": {
"ReleaseKey": KEY-VALUE-FROM-ABOVE,
"Strategy": "ModernJobsCount",
"JobsCount": 1,
"InputArguments": "{}"
}
}
and my response is just:
<Response [404]>
and i dont get it…
whats wrong?
I can use literaly anything in my body and reciving with this endpoint always the 404 response.
I checked the endpoint several times, copyed id from here:
UiPath Add-ins Guide
and here:
https://docs.uipath.com/orchestrator/automation-cloud/latest/api-guide/jobs-requests#starting-a-job
checked the ChatGPT answer and red aprx 100 posts here but its always the same endpoint.
im a bit desperate, please help…
thanks in advance