Cannot add gadget in Dashboard/Edit mode

Vote:
 

HI Team,

We are facing issue while adding a gadget 'External review component' in CMS, it throws error as 'Could not add component' pop up.

EPiServer.Global : Unhandled exception in ASP.NET
System.InvalidOperationException: The JSON request was too large to be deserialized.

Kindly let us know how to overcome this issue?

#294414
Jan 10, 2023 7:13
Vote:
 

Can you look into log files to see if there is any stacktrace in there? 

#294416
Jan 10, 2023 8:12
Vote:
 

One thing you can try is to add this setting to appSettings

<appSettings>
    <add key="aspnet:MaxJsonDeserializerMembers" value="2500" />
</appSettings>

#294417
Jan 10, 2023 8:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.