I’ll start off by admitting I’m not a programmer. I’ve researched the error but I do not understand what I’m reading or how to apply. I created a Dashboard that is working OK for my purposes. When I try to Preview or Deploy it, I get the following error message:
Cannot deserialize the current JSON object (e.g. {“name”:“value”}) into type ‘Epicor.MetaFX.Core.Models.Dashboard.DashboardViewColumns’ because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path ‘DashboardViewColumns.DefinitionID’, line 1, position 2308.
Since I didn’t actually write code myself, I’m not sure what this is supposed to be telling me or what I might look at to fix it. I would appreciate any help with this. Thank you.
BelowMinDashboard.dbd (274.9 KB)