Orchestrator Manager Single Tenant Error

I am using the Orchestrator Manager tool to manage credentials that need to be reset every six months and have been using it to this for a couple years now. Last week I used it to reset test credentials in our test and UAT tenants, which worked fine, and this week I need to use it for production. The issue I am facing is that it is failing every time when trying to retrieve the folders in our production tenant.

I can get past the authentication popup using the App ID and secret (same as my other tenants) and then get to the popup and select the Get Credential option.

However, after pressing execute I get this popup and looking at the logs in Studio gives me the message “Could not find a folder with this Id.”


I have tried versions 2.4.1 and 2.6.2 and in both I am able to successfully use it in both our test and dev tenants but our production tenant only gives the error.

I tried creating a new External application giving all Orchestrator permissions under application scope and am still facing the issue using this app id/secret as I am with the old one.

Is there any tenant-specific settings I can look at that would affect this? I don’t know of any specific changes that have happened since the last time I ran this that would have only happened in production and not our test/dev tenants.

@amarsh

to know the issue..try to debug instead of run
check the variable values being sent into the activity that is failing and see if something might be off..or folder name or ID can be seen

cheers

1 Like

I appreciate your response, that is a good idea and I gave it a try. The error is occurring during the workflow MakeHTTPRequest and is being thrown due to a status code not equal to the expected.

Here is where it failed along with the variables/arguments I can see, the in_ExpectedStatusCode of 200 is not equal to the out_StatusCode of 404 received from the HTTPRequest before it above resulting in the throw.

I set a breakpoint here and tried with a different tenant and the status codes matched but the rest of the in arguments look basically the same, aside from the URL using the other tenant name.

Looking above at the HTTP request that assigned out_StatusCode it looks like it should be using the exact same activity as the request I sent for the other tenant that works fine, it was a get method with in_OUID equal to 0.

It just seems like it’s unable to communicate with one tenant vs. the others and I don’t know why
I have tried using both upper and lower case when entering the tenant name in case there is something wrong there, and I have looked for spaces in the tenant name that maybe I didn’t see but it is a single word with no spaces so looks normal to me.

Any ideas what else I might check?

Can you test it using swagger.

https://cloud.uipath.com/{org}/{tenant}/odata/Folders
→ 401 = correct tenant
→ 404 = wrong tenant/region

One tenant working and another failing always indicates a tenant name or region mismatch.

1 Like

After doing some more debugging I found what the issue was. There was an automatically created sub-folder called “Debug_Solution” under the “My Workspace” folder that seems to not be treated the same by the API request and was causing the failures. I debugged and ignored the errors and it eventually ran completely through getting all the credential assets I needed.

I didn’t need this folder so I deleted the folder and ran again and it ran perfectly. I had no idea where this folder came from so looked around and eventually found it is automatically created when you press “debug in cloud” in Studio web, which I did to test something for a citizen developer question.

So this was my fault for not knowing I did something to create this folder, but also probably a bug with the way these folders are created that they cause this kind of failure by behaving different from all other folders in the tenant. Hopefully this helps someone if they ever run into this issue.

Thank you for your replies.

2 Likes

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