Error 1101 in HTTP request

api

#1

Hi,
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.API


#3

Hi

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.

Thanks


#4

Hi Callum,

Are you using Orchestrator CE: https://platform.uipath.com or another Orchestrator?


#5

I’m using my own instance of Orchestrator hosted in an Azure App Service.


#6

And do you have Organization units enabled in web.config?


#7

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.


#8

Does this error occurs when calling any method?


#9

Yes this is happening for every query or function other than authenticating.


#10

Hi,

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
image


#11

Thanks, that worked.

I checked and you can also get the Organization Unit ID from the [OrganizationUnits] table in the database rather than having to switch between the OU’s in the Orchestrator UI and keep checking the headers.

Thanks


Orchestrator API - Query Organization Units