I have to use a HTTP Request Activity to call an api.
It uses simple http authentication, but the reponse is “Authentication data missing”
I have tried not selecting the authentication in the activity, and base64encoding it my self, and adding it to a variable that i can use in multiple calls.
everything i’ve tried gives the same result, except when i do it in postman it just works.
I am pretty new to UiPath, having mostly worked in BluePrism before.
It’s indicates that the server is rejecting your request due to insufficient or incorrect authentication. Verify that you are using the correct authentication method required by the API or test in POSTMAN.
Does anyone know if i somehow can see the request being sent.
That is possible in Blue Prism, that could perhaps help me track down why my login info is not being sent or declined.
If you mock the data for a test, you can use a website like https://webhook.site to investigate how the requests look like when sent from studio and from postman for a comparison.
I actually fixed it. Not sure why yet.
But here is what worked.
The username and password could not be variables, even if they are the same it wont work.
Also i had to end the endpoint with ‘/’ for it to work, otherwise it rejected my login credentials.
Also the project had to be an ‘UrlSegment’ but it works and i am not touching that again till it breaks