IBM Support

webMethods Knowlegebase : Maximum JSON request length exceeded

Troubleshooting


Problem

Error while sending a request with greater than 5000000 length.

We have added below setting but still the values show 5000000 in error.

Extended Setting - watt.server.json.decode.maxStringLength = 900000000

custom wrapper - wrapper.java.additional.1100=-DjsonMaxStringLength=900000000

Error details

{"$errorDump":"com.fasterxml.jackson.core.exc.StreamConstraintsException:String length (5033618) exceeds the maximum length (5000000)","$errorInfo":{"$errorDump":"com.fasterxml.jackson.core.exc.StreamConstraintsException:String length (5033618) exceeds the maximum length (5000000)","$error":"String length (5033618) exceeds the maximum length (5000000)","$localizedError":"String length (5033618) exceeds the maximum length (5000000)","$errorType":"com.fasterxml.jackson.core.exc.StreamConstraintsException","$service":"gsRestAPIs.attachment.saveAttachments:_post","$user":"Default","$time":"Tue Aug 22 07:01:42 CEST 2023"},"$error":"String length (5033618) exceeds the maximum length (5000000)","$errorType":"com.fasterxml.jackson.core.exc.StreamConstraintsException"}

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.15"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.15"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.15"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17228146