Error Generating Report (previously worked)



  • Suddenly started receiving this error (this report has worked for years) - I suspect it has something to do with your new version.

    Error: template input in request contain values that does not match the defined schema. schema validation errors: template.phantom.printDelay should be integer
    at module.exports (/usr/src/app/node_modules/jsreport-core/lib/util/createError.js:9:13)
    at Reporter.createError (/usr/src/app/node_modules/jsreport-core/lib/reporter.js:263:12)
    at module.exports (/usr/src/app/node_modules/jsreport-core/lib/render/render.js:127:24)
    at Reporter.render (/usr/src/app/node_modules/jsreport-core/lib/reporter.js:255:12)
    at Object.reporter.express.render (/usr/src/app/node_modules/jsreport-express/lib/routes.js:48:14)
    at app.post (/usr/src/app/node_modules/jsreport-express/lib/routes.js:81:22)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at /usr/src/app/node_modules/express/lib/router/index.js:281:22
    at param (/usr/src/app/node_modules/express/lib/router/index.js:354:14)
    at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:410:3)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
    at reporter.authorization.authorizeRequest.then (/usr/src/app/node_modules/jsreport-authentication/lib/authentication.js:252:16)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)



  • I fixed your templates now. There were some invalid props created probably by very old jsreport version. I fixed those.

    I apologize for the inconvenience.


Log in to reply
 

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