Try our conversational search powered by Generative AI!

Cannot add gadget in Dashboard/Edit mode


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?

Jan 10, 2023 7:13

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

Jan 10, 2023 8:12

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

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

Jan 10, 2023 8:18

I ran into this issue as well and was able to add that key and have it resolved. Kind of an odd fix but I will take it.

Feb 03, 2023 15:49

not really an odd fix. it allows bigger json to be parsed. it is a workaround yes but not exactly odd 

Feb 03, 2023 16:21
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.