Bots Unable to Update Queue Transaction data using Orchestrator API

Hi All,

We are experiencing issue: Bots Unable to Update Queue Transaction data using Orchestrator API with error message:

message: 403 {“message”:“You are not authorized!”,“errorCode”:0,“result”:null,“targetUrl”:null,“success”:false,“error”:{“code”:0,“message”:“You are not authorized!”,“details”:“You are not allowed to perform this operation.”,“validationErrors”:null},“unAuthorizedRequest”:true,“__abp”:true}

We have verified the accesses and provide edit access to Transactions and Queue, it didnt help

But the same is working on a developer machine even in PIP mode.

Looking for some suggestions on how we can fix this.

Thanks in advance

Hi @sriram_kuchibhotla1

Check the credentials: Make sure that the credentials being used to authenticate the API request are correct and have sufficient permissions.

Regards,
Kaviyarasu N

Thanks @ Kaviyarasu,

They are correct but what exactly required when it comes to permission to the Robot because it works for us…

Hi @sriram_kuchibhotla1

Try it in swagger first, and use same endpoint url in UiPath studio as well. I hope it will work.

Yes, We did this and it is working and the same url is being used and working fine for the developers and the automation users

Thanks,
Sriram K

[quote=“sriram_kuchibhotla1, post:5, topic:532859, full:true”]
Yes, We did this and it is working and the same url is being used and working fine for the developers and the automation users but not for the Unattended Robots

Thanks,
Sriram K

Hi @sriram_kuchibhotla1

You need to enable the permission for robot to edit queue.

Check this to enable:

In this there is option called Queues, check the edit column.

Hope it helps.

Regards,
Harshith

Thanks for your response.

We tried the option to enable edit option to queue and Transaction too as we are trying to update data in a transaction and also the endpoint we are using is valid, we also tried comparing the accesses between the Developer and the Robot.

Regards,
Sriram

Thanks for your response.

We tried the option to enable edit option to queue and Transaction too as we are trying to update data in a transaction and also the endpoint we are using is valid, we also tried comparing the accesses between the Developer and the Robot, none of these resolved the issue.

Regards,
Sriram