Cloud Orchestrator API No Result from External Application Power Automate

hi @codemonkee,
Thank you for the pointers, I’ve recreated the connector from scratch and implemented them but unfortunately getting the same result.

Added the [org_name]/[tenant_name]/orchestrator_/ to the Base URL

Security tab - double checked the Scope, re-added client ID, client secret. Refresh URL same as token URL, but it keeps clearing the field once I’d clicked Update connector, is it an issue, does it do the same on yours?

Definition tab - Request - Tried the get request without any filtering, as suggested + content_type application/json
https://cloud.uipath.com/org_name/tenant_name/orchestrator_/odata/Folders
image

Test tab - populate content-type, click Test, still no values. Below is the swagger code.
URL is populated as https://someID.azure-apim.net/apim/uipath-20cloud-20orc-20-2d-20test-someid1-some_id2/some_id3/odata/Folders, and I get a bearer token too. Does the URL change on your connector too, please?

When I enable Swagger editor I get this:


Swagger definition file:

swagger: '2.0'
info:
  title: UiPath Cloud Orc - Test
  description: ''
  version: '1.0'
host: cloud.uipath.com
basePath: /org_name/tenant_name/orchestrator_/
schemes:
  - https
consumes: []
produces: []
paths:
  /odata/Folders:
    get:
      responses:
        '200':
          description: default
          schema:
            type: object
            properties:
              '@odata.context':
                type: string
                description: '@odata.context'
              '@odata.count':
                type: integer
                format: int32
                description: '@odata.count'
              value:
                type: array
                items:
                  type: object
                  properties:
                    Key:
                      type: string
                      description: Key
                    DisplayName:
                      type: string
                      description: DisplayName
                    FullyQualifiedName:
                      type: string
                      description: FullyQualifiedName
                    FullyQualifiedNameOrderable:
                      type: string
                      description: FullyQualifiedNameOrderable
                    Description:
                      type: string
                      description: Description
                    ProvisionType:
                      type: string
                      description: ProvisionType
                    PermissionModel:
                      type: string
                      description: PermissionModel
                    ParentId:
                      type: string
                      description: ParentId
                    ParentKey:
                      type: string
                      description: ParentKey
                    IsActive:
                      type: boolean
                      description: IsActive
                    FeedType:
                      type: string
                      description: FeedType
                    Id:
                      type: integer
                      format: int32
                      description: Id
                description: value
      summary: Get all folders
      description: Get all folder
      operationId: GetAllFolders
      parameters:
        - name: content-type
          in: header
          required: false
          type: string
definitions: {}
parameters: {}
responses: {}
securityDefinitions:
  oauth2_auth:
    type: oauth2
    flow: accessCode
    authorizationUrl: https://cloud.uipath.com/identity_/connect/authorize
    tokenUrl: https://cloud.uipath.com/identity_/connect/token
    scopes:
      OR.Administration.Read OR.Analytics.Read OR.Assets.Read OR.Audit.Read OR.BackgroundTasks.Read OR.Execution.Read OR.Folders.Read OR.Hypervisor.Read OR.Jobs.Read OR.Machines.Read OR.ML.Read OR.Monitoring.Read OR.Queues.Read OR.Robots.Read OR.Settings.Read OR.Tasks.Read OR.TestDataQueues.Read OR.TestSetExecutions.Read OR.TestSets.Read OR.TestSetSchedules.Read OR.Users.Read OR.Webhooks.Read: >-
        OR.Administration.Read OR.Analytics.Read OR.Assets.Read OR.Audit.Read
        OR.BackgroundTasks.Read OR.Execution.Read OR.Folders.Read
        OR.Hypervisor.Read OR.Jobs.Read OR.Machines.Read OR.ML.Read
        OR.Monitoring.Read OR.Queues.Read OR.Robots.Read OR.Settings.Read
        OR.Tasks.Read OR.TestDataQueues.Read OR.TestSetExecutions.Read
        OR.TestSets.Read OR.TestSetSchedules.Read OR.Users.Read OR.Webhooks.Read
security:
  - oauth2_auth:
      - >-
        OR.Administration.Read OR.Analytics.Read OR.Assets.Read OR.Audit.Read
        OR.BackgroundTasks.Read OR.Execution.Read OR.Folders.Read
        OR.Hypervisor.Read OR.Jobs.Read OR.Machines.Read OR.ML.Read
        OR.Monitoring.Read OR.Queues.Read OR.Robots.Read OR.Settings.Read
        OR.Tasks.Read OR.TestDataQueues.Read OR.TestSetExecutions.Read
        OR.TestSets.Read OR.TestSetSchedules.Read OR.Users.Read OR.Webhooks.Read
tags: []

However, if I want to try it out in Swagger, I don’t seem to be able to authenticate using the same application ID/application secret as I’d set up for the connector:
Test1 - without clicking Authorize:

Test2 - attempted to Authorize:
image
image

Could this mean I’m hitting some permission issues?
Thank you, really hoping we can get it to work!