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
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
20 March 2025
UID
ibm17228146