Http-request-could-not-load-type-restsharp-irestclient-from-assembly-restsharp-version-108-0-1-0-culture-neutral-publickeytoken-598062e77f915f75

Hi ,

I am facing an error in http request activity.
Error is ‘could-not-load-type-restsharp-irestclient-from-assembly-restsharp-version-108-0-1-0-culture-neutral-publickeytoken-598062e77f915f75’

I am using both WebAPI and Salesforce package for my process.

But the issue is that both package contain restsharp dependency but different version.

Can you please help me on this .

Thank you.

image
image

@farheenfatma61,

Try this solution.

Thanks,
Ashok :slight_smile:

Hi @ashokkarale

The solution suggested in the post is-

The two workarounds I could suggest here:

  • utilize only one of the packages (either Salesforce package or WebAPI package) for all requests
  • utilize the Integration Service compatibile Salesforce package
  • supplement the Salesforce package with a manually written web request via the Invoke Code activity

Can you help me how to supplement the Salesforce package with a manually written web request via the Invoke Code activity?

My project has dependency on both the package.

Thank you.

@farheenfatma61,

That’s not easy stuff. Ignore that. Have you migrated the project from Legacy to Windows?

Thanks,
Ashok :slight_smile: