Unable to run unattended bot in prod

Error Message : Raw message: Object
message:
System exception at initialization: You are not authorized! Error code: 0 at Source: UiPath.System.Activities

I am trying to run my code on my prod environment. And it keeps failing with this error message at the start of the process after it has copied and excel file on one drive and then i think fails while using “Set Asset” activity

Hi @Sipra_Sarangi

Can you check if robot account you are using has edit permission on assets ?

Thanks for the response. I did check and it doesnt have edit options but i am unable to change it. Could you guide me how i can enable the access please.

Hello,
Try to check this path-
Orchestrator> tenant> manage access> Roles > robot > folder permissions > assets > make sure to set asset permission as edit check button and click onupdate.

Let me know, if you still facing it.

Hi @Sipra_Sarangi

You may not be able to change it on your own if you don’t have admin rights in orchestrator.

But the path to change is tenant→ manage access → roles (in your case, it might be robot role or some custom role you may be using) and then edit that to include edit access for that role.

Hope this helps.