Hi All,
Which role and permissions are needed to call " /odata/RobotLogs" API?
I have “Developer” role with “Logs.View” and
“Robot_Unattended” role with “Logs.Create”
But it’s throwing “Unauthorized” exception
Hi All,
Which role and permissions are needed to call " /odata/RobotLogs" API?
I have “Developer” role with “Logs.View” and
“Robot_Unattended” role with “Logs.Create”
But it’s throwing “Unauthorized” exception
Hey @Krithi1
How are you hitting this endpoint, please ?
And did you perform Auth before going to this ?
Thanks
#nK
I am using Orchestrator HTTP request whoch doesnt require token
I am directly using the same endpoint URL that i provided above. I bave used similar other APIs before and they all worked
Hey @Krithi1
If you are using Orchestrator HTTP
activity then it will inherit from the studio user roles.
As in the above image you need to assign your studio user (or it can be a robot user not yours) the appropriate role which has the Logs.View
enabled.
This will do the job.
I have tested the same with and without Logs.View
which was working fine.
When I removed the Logs.View
permission from the role
Thanks
#nK