<?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[Async report generation does not work, when requesting status always saying &quot;Report is pending. Wait until 201 response status code&quot;]]></title><description><![CDATA[<p>Hi there,</p>
<p>We are using async report api to generate the report and periodically fetch the status of the result, but when fetching the result, it said: &quot;Report is pending, Wait until 201 response code&quot; even in one day later after the report generation.</p>
<p><strong>We use following restful api to request the report generation:</strong><br />
<em>POST <a href="https://saap.jsreportonline.net/api/report" rel="nofollow">https://saap.jsreportonline.net/api/report</a><br />
{<br />
	&quot;template&quot;:<br />
	{<br />
		&quot;engine&quot;: &quot;handlebars&quot;,<br />
	        &quot;recipe&quot;: &quot;phantom-pdf&quot;,<br />
	        &quot;content&quot;:&quot;html template here&quot;,<br />
	        &quot;phantom&quot;: {<br />
		         &quot;margin&quot;: { &quot;top&quot;: &quot;0.45cm&quot;, &quot;left&quot;: &quot;0.5cm&quot;, &quot;right&quot;: &quot;0.5cm&quot;, &quot;bottom&quot;: &quot;0.9cm&quot; },<br />
		         &quot;format&quot; : &quot;A4&quot;,<br />
			 &quot;header&quot;: &quot;The header&quot;,<br />
			&quot;footer&quot;: &quot;The footer&quot;,<br />
			&quot;headerHeight&quot;: &quot;1.5cm&quot;,<br />
			&quot;footerHeight&quot;: &quot;1cm&quot;,<br />
			&quot;resourceTimeout&quot;:90000<br />
	},<br />
	&quot;data&quot;:<br />
	{},<br />
	&quot;options&quot;: {<br />
		&quot;timeout&quot;: 60000,<br />
		&quot;reports&quot;: {<br />
			&quot;save&quot;: true,<br />
			&quot;async&quot;: true<br />
		}<br />
	}<br />
}</em></p>
<p>**Once it had been done, it reported back a url to allow us fetch the report later (report id was modified): **<br />
<em>Async rendering in progress. Use Location response header to check the current status. Check it<br />
&lt;a href='<a href="https://saap.jsreportonline.net/reports/5b58ff0000000000000/status" rel="nofollow">https://saap.jsreportonline.net/reports/5b58ff0000000000000/status</a>'&gt;here&lt;/a&gt;</em></p>
<p><strong>But when we check that url in few hours even one day, it showed the following message asking us to wait endlessly:</strong><br />
<em>Report is pending. Wait until 201 response status code</em></p>
<p>Could anyone please help? Thanks a lot!!</p>
<p>Regards,<br />
Michael</p>
]]></description><link>https://forum.jsreport.net/topic/632/async-report-generation-does-not-work-when-requesting-status-always-saying-report-is-pending-wait-until-201-response-status-code</link><generator>RSS for Node</generator><lastBuildDate>Mon, 05 Oct 2026 11:47:30 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/632.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jul 2018 23:23:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Async report generation does not work, when requesting status always saying &quot;Report is pending. Wait until 201 response status code&quot; on Invalid Date]]></title><description><![CDATA[<p>Hi there,</p>
<p>We are using async report api to generate the report and periodically fetch the status of the result, but when fetching the result, it said: &quot;Report is pending, Wait until 201 response code&quot; even in one day later after the report generation.</p>
<p><strong>We use following restful api to request the report generation:</strong><br />
<em>POST <a href="https://saap.jsreportonline.net/api/report" rel="nofollow">https://saap.jsreportonline.net/api/report</a><br />
{<br />
	&quot;template&quot;:<br />
	{<br />
		&quot;engine&quot;: &quot;handlebars&quot;,<br />
	        &quot;recipe&quot;: &quot;phantom-pdf&quot;,<br />
	        &quot;content&quot;:&quot;html template here&quot;,<br />
	        &quot;phantom&quot;: {<br />
		         &quot;margin&quot;: { &quot;top&quot;: &quot;0.45cm&quot;, &quot;left&quot;: &quot;0.5cm&quot;, &quot;right&quot;: &quot;0.5cm&quot;, &quot;bottom&quot;: &quot;0.9cm&quot; },<br />
		         &quot;format&quot; : &quot;A4&quot;,<br />
			 &quot;header&quot;: &quot;The header&quot;,<br />
			&quot;footer&quot;: &quot;The footer&quot;,<br />
			&quot;headerHeight&quot;: &quot;1.5cm&quot;,<br />
			&quot;footerHeight&quot;: &quot;1cm&quot;,<br />
			&quot;resourceTimeout&quot;:90000<br />
	},<br />
	&quot;data&quot;:<br />
	{},<br />
	&quot;options&quot;: {<br />
		&quot;timeout&quot;: 60000,<br />
		&quot;reports&quot;: {<br />
			&quot;save&quot;: true,<br />
			&quot;async&quot;: true<br />
		}<br />
	}<br />
}</em></p>
<p>**Once it had been done, it reported back a url to allow us fetch the report later (report id was modified): **<br />
<em>Async rendering in progress. Use Location response header to check the current status. Check it<br />
&lt;a href='<a href="https://saap.jsreportonline.net/reports/5b58ff0000000000000/status" rel="nofollow">https://saap.jsreportonline.net/reports/5b58ff0000000000000/status</a>'&gt;here&lt;/a&gt;</em></p>
<p><strong>But when we check that url in few hours even one day, it showed the following message asking us to wait endlessly:</strong><br />
<em>Report is pending. Wait until 201 response status code</em></p>
<p>Could anyone please help? Thanks a lot!!</p>
<p>Regards,<br />
Michael</p>
]]></description><link>https://forum.jsreport.net/post/3148</link><guid isPermaLink="true">https://forum.jsreport.net/post/3148</guid><dc:creator><![CDATA[Michael Mei]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Async report generation does not work, when requesting status always saying &quot;Report is pending. Wait until 201 response status code&quot; on Invalid Date]]></title><description><![CDATA[<p>Unfortunately there is bug in current jsreportonline and async reports doesn't work there.<br />
We will make sure it works in the next release.<br />
You can subscribe here<br />
<a href="https://github.com/jsreportonline/main/issues/10" rel="nofollow">https://github.com/jsreportonline/main/issues/10</a></p>
]]></description><link>https://forum.jsreport.net/post/3150</link><guid isPermaLink="true">https://forum.jsreport.net/post/3150</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>