Method not found: 'Void RestSharp.Parameter..ctor(System.String, System.Object, RestSharp.ParameterType)'

Hi everyone,

I’m having version conflicts with two dependencies I’m using (see images attached).
The error message I’m getting is the following.

22.4.6+Branch.support-v22.4.Sha.21335593b663e604ea781598b95625f6bfb66bd4

Source: Jira Scope

Message: Method not found: ‘Void RestSharp.Parameter…ctor(System.String, System.Object, RestSharp.ParameterType)’.

Exception Type: System.MissingMethodException

RemoteException wrapping System.MissingMethodException: Method not found: ‘Void RestSharp.Parameter…ctor(System.String, System.Object, RestSharp.ParameterType)’.
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.ContinuableAsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

I believe that the problem is because the two RestSharp versions are different in each dependency. Is there any solution or workaround?

Thanks,

image
image

Perhaps. UiPath download lowest version of RestSharp matching to all dependencies (106.15.0). If you remove WebAPI.Activities package RestSharp should automatically downgrade to 106.10.1. Please check if Jira Scope working after that. If yes it means that Restsharp version was the issue. workaround → older version of WebAPI.Activities use older version of RestSharp (then you can downgrade this package and we have no conflicts)

Sadly, sometimes this happens and it appears that RestSharp have removed a method or constructor that is affecting backwards compatibility here.

Try the UiPath.WebAPI.Activities using version 1.9.2, I think the dependencies should be close enough for this to now work.

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