Restarting my laptop did the trick! (Don’t really understand why, as I didn’t update since last restart, and still have multiple studio installations on my machine, but anyway.)
But now I have the following question:
The “authenticate” request works fine, but eg. the “releases - get by name” request (see screen shot below) doesn’t.
I’m using an Orchestrator HTTP Request activity.
From Activities - Orchestrator HTTP Request, I understand that with this type of request I don’t need to provide the bearer token since
UiPath.Core.Activities.OrchestratorHttpRequest
Performs HTTP requests to the Orchestrator API by authenticating under the Robot it is executed on.
And that with this specific request there’s no JSONPayload. Correct?
I’m connected with orchestrator: when I debug this little sequence the robot is busy.
Testing the same request in Postman is succesful.
So, what am I missing?
Or do I need to use the HTTP Request instead of the Orchestrator HTTP Request?
The difference is that when you use the Orchestrator HTTP request activity you authenticate to Orchestrator via the robot, so in this case you use the Robot role permissions. In your example you are performing a GET call to /odata/releases and as you can see in the attached image the Robot role doesn’t have View permissions on Processes, but it has View permissions for Robots (this is why it was working for @loginerror).