Hey there,
here is my flow to refer:

- First I am making POST request (using “Http Request” activity), and getting session token as a response.
- I am storing this token in a varible named “session_token”.
- I want to make GET API call, and in its header, I am passing “session_token” as shown below
However, when I execute this process, I am getting following output:
{"detail":"Authentication credentials were not provided."}
I am not getting why I am getting this error, provided that I have sent authorization token
ppr
(Peter Preuss)
2
In such case we recommend:
- prototype it with Postman
- then port it to HTTP Request Activity
@ppr It works fine in Postman
But not working in Http Request activity.
ppr
(Peter Preuss)
4
then we would recommend to port it from Postman to HTTP Request
Feel free to share with us the different CURLs exportable from Postman
I have two APIs, wherein first is working in UiPath, but second is not working in UiPath, which works on Postman. What could be the catch.
ppr
(Peter Preuss)
6
unfortunately, we cannot derive much detail from the above and cannot give more specific hints.
often it is about missing headers, wrong passed payload …
When further assistance is needed then, please
Anil_G
(Anil Gorthi)
7
@akashjariwala
Mostly when we pass the token in api …we use bearer tokenvalue or basic tokenvalue…did you use something liek that in postman?
If not did you use it header or select from authorization and provided token in field in postman?
If so then check how it is passing kostly it would append bearer infront
Also better to copy the curl and use improt in http request to avoid issues
Cheers