Orchestrator API swagger UI has different values in UiPath Studio

I use swagger to get the queue items in the orchestrator using API.

The queue item shows correctly in the Swagger UI. However, when I try it on the UiPath Studio it shows differently. Here’s the screenshot for reference:

In Swagger UI it shows that the data count of my queue item is equal to 10

image

However, when I try it on UiPath It shows 0

image
image

May I know what seems to be the issue. Thanks!

@kevzki

Is the studio pointing to the correct folder?

Cheers

It’s not. The folder of the studio is on another folder. This issue is actually related to this thread

I thought I was able to solve it when I was able to access it using swagger ui but when I tried it on the UiPath studio. It doesn’t work.

@kevzki

So are tou still on classic folder?

If so did you try by selecting the folder in the studio left bottom directly?

Cheers

Yes, on classic folder. I can’t also select the folder in the studio, I have no option to.

@kevzki

My bad…even on classic you should have an option to select the folder and it would be on the right bottom…where you see the connected green dot

Cheers

Hi

U can choose your folder in a place like this in your studio
So that it gets you the right set of data as you got from swagger

Cheers @kevzki

Unfortunately, I can only select the folder the I’m currently in.

image

Fine
Then I think your robot is connected to different tenant and the folder u access from swagger is from different tenant
Check here in assistant
Which tenant it is connected
image
And cross check which tenant you want to connect which has the folders and queue items in it

@kevzki

Hello,

I don’t have such option in my assistant.
image

However, I was able to solve this using HTTP Request instead of Orchestrator HTTP Request. When I try it using HTTP Request it shows the correct values for some reasons. I’m also curious to why its working in HTTP Request and not Orchestrator HTTP Request.

It’s an option in foreground
When u just hover over it u get to see the tenant name

Ideally both should work
It could be because of pattern of headers and other parameters sent along with the api call

@kevzki

Hello again,

When I tried it using other machines, it gives me this error:

image

May I know what parameters should I set to avoid this error. Thank you!

The permission is not yet granted
Go to orchestrator and get the required roles and permissions for the user with which u r trying to access

@kevzki

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.