POST call base64 value is too large for an unlimited string in a JSON payload (java.lang.IllegalStateException: Form too large 1555668>200000)?

Hi guys   I have published a post-REST services and receive the pdf as base64 value in an unlimited string attribute of a non-persistent object (as discussed in another forum post). When sending a small file i can decode the string perfectly to a file, everything works fine. BUT when the file becomes larger (>2mb) then I get this error:   java.lang.IllegalStateException: Form too large 1555668>200000 at org.eclipse.jetty.server.Request.extractParameters( at org.eclipse.jetty.server.Request.getParameterNames( at com.mendix.m2ee.appcontainer.server.request.HttpMxRuntimeRequest.parseParameters( at com.mendix.m2ee.appcontainer.server.request.HttpMxRuntimeRequest.<init>( at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle( at org.eclipse.jetty.server.handler.HandlerList.handle( at org.eclipse.jetty.server.handler.HandlerWrapper.handle( at org.eclipse.jetty.server.Server.handle( at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest( at org.eclipse.jetty.server.AbstractHttpConnection.content( at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content( at org.eclipse.jetty.http.HttpParser.parseNext( at org.eclipse.jetty.http.HttpParser.parseAvailable( at org.eclipse.jetty.server.AsyncHttpConnection.handle( at at$ at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( at org.eclipse.jetty.util.thread.QueuedThreadPool$ at I know that the rest module could receive binary data when the parameter is a filedocument object. But I am wondering how I can receive the full base64 value as a non-filedocument object in an unlimited attribute of a (non) persistent object. Is this possible?
1 answers

There is a possibility to adjust the Jetty max_form_content_size setting, but you'll need to contact Mendix support to change it.