< class="prominent-subhead ">

Code Fix: An error occurs when registering a Rest Broker Service Instance


Issue Description

An error occurs when you register a Rest Broker Service Instance to use OAuth extension SourceCode.Security.OAuth.Extensions.UiPath.

Error Message

The following error occurs: “Could not load file or assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”.


  1. Ensure you have K2 Five (5.2) installed.
  2. Download the K2 Five (5.2) FP9 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.2) FP9 to apply the fix.