Facing error with the use of HTTP Request

Currently keep getting this error and have no idea what to do

Method not found:
‘System.Threading.Tasks. Task 1 <RestSharp.IRestResponse>
RestSharp.IRestClient.ExecuteAsync(RestSharp.IRestRequest,
System.Threading.Cancellation Token)’.

any help is appreciated

Hi,

For now, can you try to upgrade WebAPI activities package to the latest version OR downgade older version?

Regards,

Hi,

I already downgraded the WebAPI package to a version suitable for my current studio version before I posted this thread

I was and am still facing this issue before and after downgrading

Downgrade the UiPath.WebAPI.Activities package to v1.9.2 and retry.

Hi,

Can you share screenshot of dependencies for RestSharp in Project panel as the following?
The version of RestSharp might be higher than it requires.

image

Regards,

Hi,

I have attached the screenshot below

image

Hi,

I downgraded and now my http request cannot open for some reason

Hi,

It seems no problem…

Can you try to temporarily remove C:\Users[username].nuget\packages\restsharp folder?
Then restart Studio and run?

Regards,

Hi,

I cut the folder and tried to run the bot again but the same issue persists
I do not run the activity but I use the preview option inside the activity instead
Does this affect?

Any other solutions?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.