Using the HTTP Request Wizard for an API call but receiving the below error.
Method not found:
‘system.threading.Task.Task 1<restSharp.IrestResponse>
RestSharp.IRestClient.ExecuteAsync(RestSharp.IRestRequest,
System.Threading.CancellationToken)’.
Does anyone know what the issue is here and what is needed to allow the API to execute. I worked through various WebAPI.Activites but still facing this issue.
The error message you are encountering indicates that there is a problem with the version compatibility between the RestSharp library and the HTTP Request Wizard activity in UiPath.Check if the RestSharp package is installed in your project. If it is not installed, you can add it by going to the “Manage Packages” section in UiPath Studio and searching for “RestSharp” in the Official or All packages tab. Install the RestSharp package and make sure it is the latest version available.
It seems that the issue is from the URL itself. It seems is not a string.
Check first if the the method operation is working in Postman, then retry the configuration in the HTTP Request activity.
Double-check that.