I got stuck at HTTPRequest with Yahoo’s API with UiPath and unable to understand reasons for it to be not working when executing thru workflow, but working alright at preview stage. Same set of values fetch GET 200 St code when done in Preview option of Http Request Wizard in Uipath.
The end-point e.g I am trying to excess is Yahoo Weather API which requires OAuth1 and so I passed the consumerKey and consumerSecret code in wizard (image attached) and it previews fine with parameter values being passed to it. However, same activity is throwing error for invalid credentials from Yahoo when run in workflow. Attaching snapshots
Thanks @SamanGuruge however, I did chech this page before and then went on to set up same in UiPath. So as I stated above problem is why the activity throwing error when run in workflow and working fine in “preview mode” with consumerKey and consumerSecret. And what values to change in Properties of HTTPRequest in UiPath to get past the credentials error.
Hey @bcorrea was just looking at python version of the code, and could see values being set up for header to config Authorization value. Will sure take a look at C# version.
Yes, i did when setting up and could run that way. if you see the first set of screenshots I have attached same .xml ouput that you have now.
So again I would try to clarify the problem is now the same activity isn’t working when run in workflow mode. May be you also try it running in workflow now, after having it set up. Please Do note -— *
the screen shot again I am pasting here for passing parameter values.
if you see as in image, both “parameters” are set to value of two variables with default values… let me know if are got it running in workflow?
I have tried both ways now i.e keeping parameters with valid values and also ran by deleting both the parameters from the HTTP Req activity. RESULT is same in both runs i.e. same ERROR - OST_OAUTH_PARAMETER_ABSENT_ERROR in both runs is being given.
So it can be concluded that HTTPRequest activity is not passing/considering the Parameters property under Options section.