I need some help with the Orchestrator API/HTTP request activity
I recently started at a new company, and is rebuilding my “create a new project”-process.
Along with some other features, this process also creates Orchestrator queues for the new project.
At my old company, I created this feature using the standard HTTP request activity to authenticate and post the queue.
Now I need to recreate it i’m using the Orchestrator HTTP Reuqest activity instead of the normal one.
Asking for what queues is currently in orchestrator is working fine, but when trying to manipulate the queues i get an 403 “You are not authorized” StatusCode. This goes for both Post and Delete (with the associated changes to the input).
Isn’t it the whole idea with the Orchestrator HTTP activity that it automatically authorizes me?
Since I can get the queues I assume it does, but then why can’t I manipulate them?
When logging into orchestrator through the web interface, I can both Create and delete queues from the same user account that the robot uses, so i know it’s not a problem with access control for the user in orchestrator.
I could probably recreate it using the normal HTTP request activity, but I want to know why this isn’t working, since it would be a lot easier not needing to authendicate whenever i need to use the API
Is it correct that the API guide have not been updated since 2016.2?
So you are saying that when user “abc” logs into Orchestrator, and when user “abc”'s robot uses orchestrator, they are not using the same permissions?
Can you support that with official documentation, or an example?
I have similar issues with robots getting a 403 when using the Orchestrator HTTP activity. Specifically, I am trying to create users. I’ve given the robot role view, edit, and create permission on users. But still I get the 403. Any idea beyond roles? Is there a specific permission that the API requires?
While my role was correct to create users, I was also doing “modern provisioning” where it automatically creates a robot for a user. So, I had to add create permissions for robots to the robots role. @Konrad could this be your issue as well?
I do not know what “modern provisioning” is, and i’m pretty sure we are not using it.
I did a search and it looks to be something where you automatically create Attended Robots pr user?
If that’s the case, then no. We only use unattended.
Anyway, Thx for checking!
For now i have reverted to using the regular HTTP requests, until UiPath sees this post and gives a response, or fixes the bug
I am having similar issue(Getting 403 error code) while trying to enable/disable machines using the following API. I have admin privileges. Any thoughts on what could be missing or incorrect in my request?
what do you mean “i have admin privileges”? You need to make sure the user authenticated for that request has the correct permissions (roles), cause 403 is saying otherwise…
Are you using the orchestrator http request activity, or have you done it “manually” with a normal HTTP request activity?
I never got UiPaths activity to work, so i would recommend trying to use the normal HTTP request.
It’s more work as you need to handle the authentication as well, but at least it works