I am getting error message while adding queue items through orchestrator API in HTTP request…Can anyone help me regarding what is the error…?
I have attached a screenshot.
Did you manage to find a solution to this issue? If so please could you share it?
I’m using the Orchestrator API v2017.1 now and am getting the same error message when Organization Units are enabled.
Are you using Orchestrator CE: https://platform.uipath.com or another Orchestrator?
I’m using my own instance of Orchestrator hosted in an Azure App Service.
And do you have Organization units enabled in web.config?
Yes I have it enabled and I have created two organization units, let’s call them Unit1 and Unit2. I’m trying to perform a query just on Unit1.
Does this error occurs when calling any method?
Yes this is happening for every query or function other than authenticating.
In order to solve your issue, you’ll have to add the following argument to the header: X-UIPATH-OrganizationUnitId
In order to identify your OU id please follow the next steps:
-open the developer tools (F12) when you’re logged in to Orchestrator and you’re in the correct OU
-click Network tab
-make any call by accessing another page in Orchestrator
-in the Network tab, click on one of the GET requests.
-check the Header, the X-UIPATH-OrganizationUnitId should be present and you can identify your OU’s ID