HTTP Request Activity Does Not Work When RestSharp Package Is Updated

How to resolve when HTTP Request activity returns following error - Method not found: "System.String RestSharp.Extensions.MiscExtensions.AsString(Byte[])" ?

Pre-requisites: The following conditions must met for the issue to happen

  • Studio 20.x (Studio 19 does not exhibit the error)
  • RestSharp of version 106.11.4 or above is installed.


Workaround: Lower the Robot version to 2019.10.

The UiPath product team will be fixing it in the future version ( currently planned to be done in 21.8 or > 21.8x series) coming up later this year.