Maximum JSON input exceeded

Maximum JSON input exceeded

Comments

  • The call fails and returns the following error:

    [i]The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:postInputData. The InnerException message was There was an error deserializing the object of type System.String. [b]The maximum string content length quota (1048576) has been exceeded while reading XML data[/b]. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 133.. Please see InnerException for more details.[/i]

    I’m assuming that 1,048,676 is in bytes which equals 1 MB. Can we raise this limit and if so how large do you recommend going?

  • You will need to update the values in a few locations in the settings.xml file of your decisions application server and restart to address this size limit.

    The file is located here

    C:Program FilesDecisionsDecisions Services Managersettings.xml

    The values to update are displayed in the attached text file.

    You can set these to max int32 2147483647

Sign In or Register to comment.