I’m getting invalid status code 'Unauthorized' on a Bulk Add Queue Items activity. I’m seeing people have problems with a ‘Bad Request’, but not an ‘Unauthorized’.
As you can see, it’s a simple sequence that just reads my Config.xlsx, then reads the Excel file containing the data to upload, and finally tries to bulk upload. My robot tray says my connection to Orchestrator is “Connected, licensed” and I’m able to individually add queue items to the same queue. I also think I’ve configured the Bulk Upload activity’s properties well.
For what it’s worth, I also had initial issues with the individual add queue item activity until I downgraded the UiPath.System.Activities library, which fixed it. I have tried doing the same to fix the Bulk Upload activity, but no luck.
Any help is appreciated, thanks!
EDIT: Seems like I just needed to downgrade UiPath.System.Activites from v20.6.1-preview to v20.4.0. This was prompted by an inspection of the test project provided by @Lakshay_Verma.
Also, I have tried using a .csv instead of an .xlsx in the robot but I still get ‘Unauthorized’. However, I am able to manually upload the .csv in Orchestrator without issues.
Ok so I think I found the problem. The problem was the UiPath.System.Activities v20.6.1-preview. I saw that you were using v20.4.0 so in my project I downgraded to your version and it is now working!
It’s strange because I’m pretty sure I had already tried downgrading but maybe I downgraded the wrong library.