hjie30
(Marcus)
December 2, 2022, 6:30am
1
I am tyrying to start a job using rest API on community platform “odata/Jobs/UiPath.Server.Configuration.OData.StartJobs” and why I am getting this error code
{
"message": "An organization unit is required for this action.",
"errorCode": 1101,
"traceId": "00-56c1b9276bc72482487d203b1083d14a-80ab92ea7027b2ef-00",
"resourceIds": null
}
and may I know where can I find X-UIPATH-OrganizationUnitId? What is it?
GT_Ropa
(Hubert Ropa)
December 2, 2022, 6:41am
2
Hey @hjie30
Organization ID can be found in your cloud orchestrator link, the pattern is like this:
https://cloud.uipath.com/organizationid
It also can be found via admin panel:
Admin->Tenants->Tenant_Name->Orchestrator->Api Access.
When you open it there is a organizationunit id present
hjie30
(Marcus)
December 2, 2022, 6:47am
3
May I know which one? I am looking for X-UIPATH-OrganizationUnitId not organization ID, are they same?
Hi!
Have a view on this docs for better understanding…
https://docs.uipath.com/orchestrator/reference/jobs-requests
Regards,
NaNi
GT_Ropa
(Hubert Ropa)
December 2, 2022, 7:01am
5
Sorry, right, it’s the folder ID.
You can get it by running API call on folders. In response you get all the folders and their respective ID’s.
https://cloud.uipath.com/org/tenant/orchestrator_/swagger/index.html#/Folders/Folders_Get
1 Like
Anil_G
(Anil Gorthi)
December 2, 2022, 7:03am
6
Hi @hjie30
When you open your orchestrator you will see the fid in url …that is the xorg id that you need to use
Cheers
hjie30
(Marcus)
December 2, 2022, 7:15am
7
Alright, that helped me but the guide seem a bit out of date, we cannot longer use Strategy “All” for modern folder.
hjie30
(Marcus)
December 2, 2022, 7:17am
8
GT_Ropa:
Sorry, right, it’s the folder ID.
You can get it by running API call on folders. In response you get all the folders and their respective ID’s.
UiPath
Alright that works, <https://cloud.uipath.com/fusiokqlpuli/DefaultTenant/orchestrator_/?tid=*******&fid=******* >
Got it the fid
1 Like
system
(system)
Closed
December 5, 2022, 7:17am
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.