PayloadTooLargeError: too many parameters at queryparse
-
I receive the following error jsreport PayloadTooLargeError: too many parameters at queryparse when trying to run jsreport from a textbox.
The report runs fine if I set a variable with the json data, but when I place the same exact information into the textbox, and try to process, I get the error.
function generateReport() {
var gettextval = document.getElementById('<%= TextBox1.ClientID %>').value;
var request = {
"username": "myuser",
"password": "********",
"template": {
"shortid": "45gO9uU"
},
"data":gettextval
};alert(gettextval); jsreport.render($("#placeholder"), request); // here ”placeholder” is div tag name in html page }
-
Please try to use the
renderAsync
intead.
https://jsreport.net/learn/browser-client#rendering-using-ajax-calls
-
That worked. Thank You!