Invoke Code activity with RestShart API calling Issue


#1

Hi Team,

M trying to call the Restsharp api through Inoke code activity. but its giving the below err :-1:error BC30002: Type ‘RestSharp.RestClient’ is not defined. At line 2.

I have imported the namespaces also… still facing this prob.

Regards,
$h@$h!.


#2

This might be the case


#3

Hi @vvaidya, I have imported the RestSharp assembly in the page what else ur talking about m not able to see the image given by u.


#4

Open your xaml in note pad and check if you have RestSharp assembly is present in Assemblies section, if not you might have to add manually.

Thanks,

Vinay


#5

Yes Its present in the text file too.


#6

Hi @Shashi_T, Please check whether multiple version of UiPath Studio is installed. If yes, please uninstall all and try to re-install. It will work for you.

This issue got resolved especially when I removed Uipath 2016.2 version installed along with UiPath 2018.2