Js report not working in production mode



  • I have created a jsreport on local and has published it to azure web services, but my templated are not visible there. They are working fine in local but not on production. JSReport studio is empty.
    And while running from API, it gives error

    Unable to find specified template or user doesnt have permissions to read it: H1x3PKV8kS
    Error: Unable to find specified template or user doesnt have permissions to read it: H1x3PKV8kS 
    at module.exports (/node_modules/jsreport/node_modules/jsreport-core/lib/util/createError.js:11:13) 
    at Reporter.createError (/node_modules/jsreport/node_modules/jsreport-core/lib/reporter.js:265:12) 
    at AsyncFunction. (/node_modules/jsreport/node_modules/jsreport-templates/lib/templates.js:134:20)
    

    This template is present in the code and is working fine in local



  • How is your jsreport configured? How do you deploy it to the azure?



  • I have deployed it to azure through CI/CD and runned it through commandline


Log in to reply
 

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