Unexpected character encountered while parsing value: W. Path 'PluginNamesToUninstall', line 71, position 30.

4 days ago
In a fresh nop 4.70.3 installation, I'm having this error, any ideas?

Unhandled exception. System.Exception: Unexpected character encountered while parsing value: W. Path 'PluginNamesToUninstall', line 71, position 30.

---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: W. Path 'PluginNamesToUninstall', line 71, position 30.
   at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadAsString()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Nop.Services.Plugins.PluginsInfo.DeserializePluginInfo(String json) in C:\Users\richa\Downloads\nopCommerce_4.70.3_Source\src\Libraries\Nop.Services\Plugins\PluginsInfo.cs:line 91
   at Nop.Services.Plugins.PluginsInfo.LoadPluginInfo() in C:\Users\richa\Downloads\nopCommerce_4.70.3_Source\src\Libraries\Nop.Services\Plugins\PluginsInfo.cs:line 189
   at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig) in C:\Users\richa\Downloads\nopCommerce_4.70.3_Source\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationPartManagerExtensions.cs:line 262
   --- End of inner exception stack trace ---
   at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig) in C:\Users\richa\Downloads\nopCommerce_4.70.3_Source\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationPartManagerExtensions.cs:line 312
   at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, WebApplicationBuilder builder) in C:\Users\richa\Downloads\nopCommerce_4.70.3_Source\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ServiceCollectionExtensions.cs:line 93
   at Nop.Web.Program.Main(String[] args) in C:\Users\richa\Downloads\nopCommerce_4.70.3_Source\src\Presentation\Nop.Web\Program.cs:line 40
   at Nop.Web.Program.<Main>(String[] args)
4 days ago
That's unusual for a "fresh ... installation"

Did you put create (or reuse old) file
\App_Data\appsettings.json

In any case, that appsettings.json file in an editor like Notepad++ and see if it's valid JSON
4 days ago
I'm using an old (plugins.json) upgrade from nop 4.52
this is my json file
{
  "InstalledPluginNames": [
    "Obsolete field, using only for compatibility"
  ],
  "InstalledPlugins": [
    {
      "SystemName": "CurrencyExchange.ECB",
      "Version": "1.33"
    },
    {
      "SystemName": "Misc.WebApi.Frontend",
      "Version": "1.0"
    },
    {
      "SystemName": "Payments.PayPalCommerce",
      "Version": "1.16"
    },
    {
      "SystemName": "Payments.PayPalStandard",
      "Version": "1.71"
    },
    {
      "SystemName": "DiscountRequirement.MustBeAssignedToCustomerRole",
      "Version": "1.40"
    },
    {
      "SystemName": "Misc.Sendinblue",
      "Version": "3.38"
    },
    {
      "SystemName": "Payments.CheckMoneyOrder",
      "Version": "1.51"
    },
    {
      "SystemName": "Payments.Manual",
      "Version": "1.60"
    },
    {
      "SystemName": "Pickup.PickupInStore",
      "Version": "1.47"
    },
    {
      "SystemName": "Shipping.EasyPost",
      "Version": "1.13"
    },
    {
      "SystemName": "Shipping.FixedByWeightByTotal",
      "Version": "2.36"
    },
    {
      "SystemName": "Shipping.ShipStation",
      "Version": "1.24"
    },
    {
      "SystemName": "Tax.FixedOrByCountryStateZip",
      "Version": "1.44"
    },
    {
      "SystemName": "Widgets.What3words",
      "Version": "1.03"
    },
    {
      "SystemName": "ExternalAuth.Facebook",
      "Version": "1.73"
    },
    {
      "SystemName": "Misc.ClassifiedAds",
      "Version": "1.0"
    }
  ],
  "PluginNamesToUninstall": [],
  "PluginNamesToDelete": [
    "MultiFactorAuth.GoogleAuthenticator",
    "Shipping.UPS",
    "Tax.Avalara",
    "Widgets.AccessiBe",
    "Widgets.FacebookPixel",
    "Widgets.GoogleAnalytics"
  ],
  "PluginNamesToInstall": []
}


And thanks for you respnse...
3 days ago
(oops, yes I meant \App_Data\plugins.json ;)

It looks OK to me. Maybe there is some funny / non-visible character there.  (If using notepad++, you could try View > Show Symbol > Show All Characters.)

I suggest you use an editor to delete line 71, and reenter it and try again:

  "PluginNamesToUninstall": [],
2 days ago
Looks like nop was complaining about nivoslide, I removed nivo and no more errors...