Orchestrator API - You are not authenticated

Ok this one is the good one :') ← pain

My first mistake was to not download the UiPath postman package and set the request myself

When you do download the package, you apparently don’t have to take care of the token like they said:

What about Authentication and Token Refreshing??
Don’t sweat it. This collection uses those environment variables to take care of it all automatically in the background. Just press send and your calls will go through without a problem :wink:

The package create automatically a variable with the token as value:

But make sure that the Body tab is set to “row” and “Json” and… that it contains the actual body


Source :

Make sure that you set all your variables correctly:

https://docs.uipath.com/orchestrator/v2019/reference/consuming-cloud-api

If you make all the request yourself, without downloading the package:

-Do what I do previously about variables and the Body tab
-The Authentification request doesn’t need any type of token in the Authorization tab


-All the other requests need to have the token type set to Bearer Token and the Token area is set with the token generated previously without quotes""

Now I can finally use Postman and the API :stuck_out_tongue:

4 Likes