Request body larger than maxBodyLength limit

  • I am getting this:

    jsreport.Local.JsReportBinaryException: 'Error rendering report: rendering has finished with errors:
    A critical error occurred while trying to execute the render command (2).
     Error while executing request to remote server.
     Request body larger than maxBodyLength limit (1).
     caused by error (2):-> 
    stackError:    at onCriticalError (D:\snapshot\jsreport\node_modules\jsreport-cli\lib\commands\render.js:302:19)
    at D:\snapshot\jsreport\node_modules\jsreport-cli\lib\commands\render.js:201:16
    at processTicksAndRejections (internal/process/task_queues.js:97:5)caused by error (1):'

    Although i did set the limit to 100mb like this:

    services.AddJsReport(new LocalReporting()
                   .Configure(cfg =>
                       var expressConfig =  new ExpressConfiguration();
                       expressConfig.InputRequestLimit = "100mb";
                       cfg.Extensions.Express = expressConfig;
                       return cfg.AllowedLocalFilesAccess()

    I created a github issue

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.