Asfaque
(UiPath User)
April 25, 2024, 4:43am
1
Hello Community,
I want to fetch data from Client’s server via API. But HTTP Request activity is showing “Authorization denied” error. The same is working when tested on Postman tool.
The authorization is done via Bearer Token. I have passed the same in HTTP Request Activity.
Although I have managed to get the data via script but I want to know why the HTTP activity is not working.
Thank you!
Asfaque
@Asfaque ,
This is happening due to not configured HTTP Request activity.
The Authentication should be Auth2 or Auth1 as per API documentation and pass the bearer token in Access Token.
Thanks,
Ashok
Asfaque
(UiPath User)
April 25, 2024, 12:29pm
5
Thank you @ashokkarale for your response. But I have tried this already in the begining.
But it didn’t worked.
@Uthraa_S Infact, I tried putting Authorization instead of Bearer and it worked.
Thank you @Uthraa_S
2 Likes
system
(system)
Closed
April 28, 2024, 12:29pm
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.