I` m trying to authenticate to the Orchestrator API ussing the HTTP Request activity, with https://demo.uipath.com/api/account/authenticate as End Point, following the instructions indicated in …
The returned status code 500 is always the service response.Any ideas on how to solve this issue? Is there any xaml example of this operation?
You have to use Post Method with this api and to test it you can use postman api and pass the data with raw text option by replacing your demo.uipath.com credentials.
But with HTTP Request Activity I get the status code 500, maybe the problem is that I’m not filling the credential data in the correct way in the request builder tab. Could you help me?
i had used similar steps but the HTTP request has error stating Password parameter already declared. I am able to see result in Preview Window but in UI Studio getting error
do you have a HTTP Request Builder example using the authentication access token from the UiPath Orchestrator to get information from the Orchestrator? Everything I try results in an error that says I’m not signed in.
I have script and will share once will find it on my system and allowed to share the standalone implementation. Let me know if you will not be able to achieve it still i will share
i guess @Susana you can share that example script shared. i hope you remember
Well after hitting the Authenticate api you will receive an authorization access token and that will be valid for 60 minutes.( previous 2016.2 api version info but guess will be same)
then you have to pass the token in header with following manner
Authorization: Bearer xxxxxxxxxxx
Authorization is a name attribute in Header Section
and Bearer xxxxxxxxxxxx is the value in header section