<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Rendering report using template name suddenly failing]]></title><description><![CDATA[<p>I've been using the api for some time now and all of a sudden rendering has started to fail on me. After investigation I can duplicate the error in postman and the problem, it seems, is the api engine can no longer determine the template by name.</p>
<p>So:</p>
<pre><code class="language-json">{
  &quot;template&quot;:   {
         &quot;name&quot;: &quot;name_of_template&quot;
  }
  &quot;data&quot;: {
     // data here
}
</code></pre>
<p>returns the following error:</p>
<pre><code class="language-json">{
    &quot;message&quot;: &quot;Error during rendering report: undefined&quot;
}
</code></pre>
<p>If I determine the id of the template and replace with the following:</p>
<pre><code class="language-json">{
    &quot;template&quot;: {
      &quot;shortId&quot; : &quot;Hy-1MOBkm&quot;
  },
  &quot;data&quot;: {
  // etc
  }
}
</code></pre>
<p>The report rendering succeeds. I can duplicate this error on multiple reports.</p>
<p>Has anything changed to break the option of using the template name?</p>
]]></description><link>https://forum.jsreport.net/topic/561/rendering-report-using-template-name-suddenly-failing</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 05:26:49 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/561.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 09 Jun 2018 06:14:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p>I've been using the api for some time now and all of a sudden rendering has started to fail on me. After investigation I can duplicate the error in postman and the problem, it seems, is the api engine can no longer determine the template by name.</p>
<p>So:</p>
<pre><code class="language-json">{
  &quot;template&quot;:   {
         &quot;name&quot;: &quot;name_of_template&quot;
  }
  &quot;data&quot;: {
     // data here
}
</code></pre>
<p>returns the following error:</p>
<pre><code class="language-json">{
    &quot;message&quot;: &quot;Error during rendering report: undefined&quot;
}
</code></pre>
<p>If I determine the id of the template and replace with the following:</p>
<pre><code class="language-json">{
    &quot;template&quot;: {
      &quot;shortId&quot; : &quot;Hy-1MOBkm&quot;
  },
  &quot;data&quot;: {
  // etc
  }
}
</code></pre>
<p>The report rendering succeeds. I can duplicate this error on multiple reports.</p>
<p>Has anything changed to break the option of using the template name?</p>
]]></description><link>https://forum.jsreport.net/post/2794</link><guid isPermaLink="true">https://forum.jsreport.net/post/2794</guid><dc:creator><![CDATA[agiletea]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Sat, 09 Jun 2018 07:13:14 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>there were no breaking changes regarding this.</p>
<p>do you use jsreportonline or your on prem installation?</p>
<p>If the jsreportonline... can you give me your subdomain name?</p>
<p>If the on prem... Does it happen for all templates? Even for the new one?<br />
What store do you use? The default one? Which version you use?<br />
Can you look into logs? Do you use custom user or just non auth or the admin one?<br />
Do you have a custom script in place?<br />
In case you can email me zipped application, please do it.</p>
]]></description><link>https://forum.jsreport.net/post/2796</link><guid isPermaLink="true">https://forum.jsreport.net/post/2796</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Sat, 09 Jun 2018 07:13:14 GMT</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p>Hi Jan,</p>
<p>It's jsreportonline I'm using:</p>
<p><a href="https://agiletea.jsreportonline.net/api/report" rel="nofollow">https://agiletea.jsreportonline.net/api/report</a></p>
<p>The template name is Quote_Template01</p>
<p>It happens on a client domain as well for the same name.</p>
<p>Here''s the error log:</p>
<p>undefined<br />
undefined</p>
<p>+0	Starting rendering request 9249<br />
+2	Rendering template {shortid:By6_4ox2z, recipe:phantom-pdf,engine:handlebars}<br />
+3	Inline data specified.<br />
+7	Executing script HJemlXcctM</p>
<p>Actually, now I can replicate the error in the playground: Error occured - Error during rendering report: undefined</p>
<p>When it first happened I went to the playground and tried the template with example data and it all worked fine. I switched the example data over to mimic the test data and that also worked.</p>
<p>But now neither are working and the error is not helping identify the issue!</p>
<p>It might not have anything to do with the template name after all.</p>
<p>Rgds</p>
]]></description><link>https://forum.jsreport.net/post/2797</link><guid isPermaLink="true">https://forum.jsreport.net/post/2797</guid><dc:creator><![CDATA[agiletea]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p>It is likely the script causing the error in which you send the &quot;undefined&quot; error to the jsreport. A moment, taking a look.</p>
]]></description><link>https://forum.jsreport.net/post/2798</link><guid isPermaLink="true">https://forum.jsreport.net/post/2798</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p>I can see an Invoice Script added to the playground and this is set on the template. I suspect this is because I started this template from the invoice temaplte already there but I do not use, or want that script .</p>
<p>How do I remove it from the template?</p>
]]></description><link>https://forum.jsreport.net/post/2799</link><guid isPermaLink="true">https://forum.jsreport.net/post/2799</guid><dc:creator><![CDATA[agiletea]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Sat, 09 Jun 2018 07:33:14 GMT]]></title><description><![CDATA[<p>Ah ok. I see.</p>
<p>You have in template assigned script &quot;Invoice currency&quot;. Which was create by us as demo when you first created your account.<br />
Unfortunately this scripts uses third party API which stopped to work and the script handles it badly and crashes like this.<br />
We released a hotfix so new accounts don't have this anymore. We didn't expect someone has it attached to production template.<br />
We will take a look for other accounts.</p>
<p>The quick solution for you now is to open jsreportonline studio. And deselect the &quot;Invoice currency&quot; script from your templates.<br />
Use ctrl click in left template scripts menu.</p>
<p>I apologize for the troubles.</p>
]]></description><link>https://forum.jsreport.net/post/2800</link><guid isPermaLink="true">https://forum.jsreport.net/post/2800</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Sat, 09 Jun 2018 07:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p><img src="/uploads/files/1528529670577-upload-9b69b821-ee94-433e-ab87-a9cc04768cd1.png" alt="0_1528529670884_upload-9b69b821-ee94-433e-ab87-a9cc04768cd1" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.jsreport.net/post/2801</link><guid isPermaLink="true">https://forum.jsreport.net/post/2801</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p>Perfect - I'll also remove it from my assets so it doesn't creep in to anything else.<br />
Thank you for that - your response and support is the best I've encountered and very reassuring :)</p>
<p>Have a great weekend!</p>
]]></description><link>https://forum.jsreport.net/post/2802</link><guid isPermaLink="true">https://forum.jsreport.net/post/2802</guid><dc:creator><![CDATA[agiletea]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Rendering report using template name suddenly failing on Invalid Date]]></title><description><![CDATA[<p>Great. Happy to help.<br />
Nice weekend for you too.</p>
]]></description><link>https://forum.jsreport.net/post/2803</link><guid isPermaLink="true">https://forum.jsreport.net/post/2803</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>