Get Robot ID HTTP call suddenly not working

We’re using UiPath community edition to run a few bots, but using Power Automate to call to a VM in Azure to start it and then get the Robot ID from the Orchestrator.

The GET call looks like this:

URI:
https://cloud.uipath.com/[OrchestratorName]/[TenantName]/orchestrator_/[OrchestratorName]/[TenantName]/orchestrator_/odata/Robots

With the Headers: Authorization, X-UIPATH-TenantName, Content-Type, and X-UIPATH-OrganizationUnitId

Body of Request

Where the call used to give a JSON response that we could parse, for example:

{
@odata.context”: “UiPath”,
@odata.count”: 1,
“value”: [
{
“LicenseKey”: null,
“MachineName”: “[VM1Name]”,
“MachineId”: [MachineID],
“Name”: “[RobotName]”,
“Username”: “[RobotUsername]”,
“ExternalName”: null,
“Description”: “[RobotDescription]”,
“Type”: “Unattended”,
“HostingType”: “Standard”,
“ProvisionType”: “Manual”,
“Password”: null,
“CredentialStoreId”: null,
“UserId”: [UserID],
“Enabled”: true,
“CredentialType”: null,
“RobotEnvironments”: “[EnvironmentName]”,
“IsExternalLicensed”: false,
“LimitConcurrentExecution”: false,
“Id”: [ID],
“ExecutionSettings”: null
}
]
}

It’s now giving us this:

<base href="/[OrchestratorName]/[TenantName]/orchestrator_/" />

<title>UiPath Orchestrator </title>
<link rel="shortcut icon" href="favicon.png" />

<script type="text/javascript" src="dist/assets/js/preload.js"></script>
<link rel="stylesheet" type="text/css" href="dist/preloader.theme.e2a05bd5703ae2b1d449.css" />
<link rel="stylesheet" type="text/css" href="dist/default.theme.25831ce63ed03c1eae29.css" />
<link rel="stylesheet" type="text/css" href="dist/css/noto/noto-font-jp-zh-woff.css" />
<link rel="stylesheet" type="text/css" href="dist/css/noto/noto-font-jp-zh.css" />
<link rel="stylesheet" type="text/css" href="dist/css/material-icons/material-icons-fontface.css" />
            <path d="M55.3,8.8v6.3c-8,0-9.9,2.8-9.9,9.6v11.9h-7V9.2h7v3.5C47.3,10.4,50.5,8.8,55.3,8.8z" />

            <path d="M83.2,19.5h-7.4c-0.6-3-2.9-4.6-6.1-4.6c-4.2,0-7,3.3-7,8s2.9,8,7,8c3.3,0,5.5-1.8,6.1-4.6h7.4C82,33.1,76.9,37,69.9,37
                            c-8.3,0-14.2-5.6-14.2-14.1c0-8.7,6-14.1,14.2-14.1C77,8.8,82,12.9,83.2,19.5z" />

            <path d="M100.7,8.8c6.5,0,11.6,4.7,11.6,11.9v16h-7V21.5c0-4.2-2.1-6.9-6.3-6.9s-6.6,2.8-6.6,7.5v14.6h-7V0h7v12
                            C94.2,9.9,96.9,8.8,100.7,8.8z" />

            <path d="M142.3,25.1h-20.7c0.8,4.1,3.5,6.1,6.8,6.1c3,0,5.3-1.2,6.1-3.9h7.5c-1.4,6-6.8,9.6-13.3,9.6c-8.7,0-14.1-5.7-14.1-14.1
                            c0-8.6,5.5-14,14.1-14c5.3,0,9.7,2.3,12,6.3C142.2,18.2,142.8,21.7,142.3,25.1z M135.1,20c0-2.9-2.8-5.5-6.5-5.5
                            c-4.2,0-6.3,2.6-7,5.5H135.1z" />

            <path d="M165.5,18h-6.5c-0.2-2.8-1.8-3.8-4.1-3.8c-2.1,0-3.5,1-3.5,2.6c0,1.5,1.9,2.1,5.6,3.5c5.2,2,8.8,4.1,8.8,8.5
                            c0,5.2-4.5,8.2-10.2,8.2c-7.3,0-11.2-3.9-11.9-9.6h7c0.4,3,2.5,4,4.7,4c2.5,0,3.5-1.2,3.5-2.8c0-2.1-2.3-2.4-7.6-4.6
                            c-4.5-2-6.4-3.8-6.4-7.3c0-4.4,3.8-8,10.3-8C161,8.7,165.1,12.6,165.5,18z" />

            <path d="M184.6,30.7v6h-3.7c-6.7,0-9.5-3.2-9.5-9.6V15.2h-3.3V9.2h3.3V1.7h7v7.5h6.1v5.9h-6.1v11.9c0,2.4,0.7,3.6,3.4,3.6
                            L184.6,30.7z" />

            <path d="M204.7,8.8v6.3c-8,0-9.9,2.8-9.9,9.6v11.9h-7V9.2h7v3.5C196.7,10.4,199.9,8.8,204.7,8.8z" />

            <path d="M234.2,9.2v27.5h-7.1v-3.1c-1.8,2.2-4.8,3.4-8.9,3.4c-7.5,0-12.7-5.8-12.7-14s5.2-14.1,12.7-14.1c4,0,7,1.4,8.9,3.8V9.2
                            L234.2,9.2L234.2,9.2z M227.1,22.9c0-4.8-2.8-8-7.2-8s-7.3,3.1-7.3,8c0,4.6,2.5,7.9,7.3,7.9C224.1,30.8,227.1,27.7,227.1,22.9z" />

            <path d="M253.9,30.7v6h-3.7c-6.7,0-9.5-3.2-9.5-9.6V15.2h-3.3V9.2h3.3V1.7h7v7.5h6.1v5.9h-6.1v11.9c0,2.4,0.7,3.6,3.4,3.6
                            L253.9,30.7z" />

            <path d="M284.3,22.9c0,8.6-5.9,14.1-14.1,14.1c-8.3,0-14.1-5.6-14.1-14.1s5.8-14,14.1-14C278.7,8.8,284.3,14.4,284.3,22.9z
                            M263.3,22.9c0,4.8,2.7,8.1,7,8.1c4.3,0,6.9-3.4,6.9-8.1c0-4.8-2.7-8-6.9-8C265.9,14.9,263.3,18.2,263.3,22.9z" />

            <path d="M304,8.8v6.3c-8,0-9.9,2.8-9.9,9.6v11.9h-7V9.2h7v3.5C295.9,10.4,299.1,8.8,304,8.8z" />

            </svg>

            <div class="loader-mask"></div>

            <div class="loader-logo-wrap">
                <svg version="1.1"
                     id="orchestrator-logo-ui"
                     xmlns="http://www.w3.org/2000/svg"
                     xmlns:xlink="http://www.w3.org/1999/xlink"
                     x="0px"
                     y="0px"
                     width="37px"
                     height="37px"
                     viewBox="0 0 37 37"
                     enable-background="new 0 0 37 37"
                     xml:space="preserve">
                <rect id="orchestrator-square-logo-blue"
                      x="1"
                      y="1"
                      fill="#1976D2"
                      width="35"
                      height="35" />

                <path fill="#FFFFFF"
                      d="M22.2,20.6c0,4.8-2.7,7.7-7.3,7.7c-4.5,0-7.2-2.8-7.2-7.7V10h3.6v10.6c0,2.7,1.1,4.3,3.6,4.3
                                        c2.4,0,3.6-1.5,3.6-4.3V10h3.6V20.6z" />

                <rect x="25.1"
                      y="13.9"
                      fill="#FFFFFF"
                      width="3.6"
                      height="14.2" />

                <path fill="#FFFFFF"
                      d="M26.9,12.2c-1.2,0.1-2.1-0.8-2.2-2c0-0.1,0-0.1,0-0.2c0.1-1.2,1.1-2.2,2.3-2.1c1.1,0.1,2.1,1,2.1,2.1
                                        c0,1.2-0.9,2.1-2,2.2C27,12.2,27,12.2,26.9,12.2" />

                          </svg>
            </div>
        </div>
    </div>
</ui-app>
<script type="text/javascript" src="dist/runtime.c7bccfca610ab7e44faf.js"></script>
<script type="text/javascript" src="dist/scripts.d8e98de1f5bb9dcfaab1.js"></script>
<script type="text/javascript" src="dist/polyfills-es5.bd9f9945a73a82a471b1.js" nomodule></script>
<script type="text/javascript" src="dist/main.0a3c5db438ce483c2c6b.js"></script>

We’re not quite sure this is happening, yesterday the call was working and today it isn’t with nothing changed on our end. Did something get updated overnight that would affect it?

Hi @Bridget_Landis

Could you please try this URL:

https://cloud.uipath.com/[OrchestratorName]/[TenantName]/odata/Robots
2 Likes

Hello Bridget,
Here I have a playlist with multiple videos on how to call UiPath Orchestrator from Power Automate:

Thanks,
Cristian Negulescu

1 Like

Thank you all,

We received an email from UiPath a few days ago which let us know about the updated API call:

We are reaching out because we noticed you are using API calls to Automation Cloud™ and we recently made a change you need to know about.

We have simplified the API namespace format to remove unnecessary duplication, but this means that the old format is no longer supported.

The API format used to be:

cloud.uipath.com/(organization_name)/(tenant_name)/(servicetype)_/(organization_name)/(tenant_name)/(servicetype)_API

We have now simplified it to:

cloud.uipath.com/(organization_name)/(tenant_name)/(servicetype)_/API

You will need to change any API calls to use this new format. If you have any issues, please check the format in our swagger:

UiPath

2 Likes