Invoke Code activity with RestShart API calling Issue

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!.

This might be the case

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.

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

Yes Its present in the text file too.

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