Friday, 19 June 2026

Power BI Project Error Newtonsoft

 


Error Message:

Method not found: 'System.Threading.Tasks.Task`1<Newtonsoft.Json.Linq.JToken> Newtonsoft.Json.Linq.JToken.LoadAsync(Newtonsoft.Json.JsonReader, System.Threading.CancellationToken)'.


other error 

Error Message:

Cannot perform interop call to: CopilotSettingsHostService.GetAgentMetadataResponse(args:1) - wrong arg[0]=request value


The Solution:

  1. Download the new dll from https://globalcdn.nuget.org/packages/newtonsoft.json.13.0.3.nupkg?packageVersion=13.0.3
  2. Extract it after converting the extension into zip
  3. cop the Newtonsoft.Json.dll from folder .net 45
  4. Past it into new folder -name it as you want- in the directory C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Newtonsoft.Json
  5. search in windows menu for "Developer Command Prompt" and run it as admin
  6. cd to the folder where you placed the dll
  7. run the following command: gacutil -i Newtonsoft.Json.dll
  8. restart power bi, and congrats