since switching to OAuth2 (confidential application) we’re facing several issues which we haven’t had before.
One of them is the header X-UIPATH-OrganizationUnitId.
Apparently this header is needed for most (if not all) requests, but this is documented nowhere. I only found out about this when searching for the errorCode 1101.
Additionally, when using this header to get processes (/Releases) we’ll only get the processes of specific folders depending on the header we’re using.
In the past it was possible to the all the processes.
Is there any way to get all processes/releases of all folders with a single request?
Another problem that others have stated as well, is that you cannot give API permissions only to certain folders. Before OAuth you used a specific user and could set the permissions to whatever you needed. This isn’t possible anymore either.
I’d like to add that we’re using application scopes, not user scopes. Because I think some of the problems are exclusive to application scopes.