<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic createReport via API - job stuck at pdfConverting in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/createreport-via-api-job-stuck-at-pdfconverting/m-p/1081339#M36042</link>
    <description>&lt;P&gt;(EDIT: I submitted this job again and it finished in under 5 seconds, so this first job below is just "stuck" somehow.&amp;nbsp; I would think it would timeout and fail at some point but it has not yet, 25 hours in).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been experimenting with the reporting API.&amp;nbsp; I successfully created a summary report template which runs quickly from the UI, and also have had success running it via the API.&amp;nbsp; This is a very simple summary report on 466 records (just returns record count), which produces a small pdf file (36k).&lt;/P&gt;&lt;P&gt;However, on a new submission via API for the same summary template, the job is stuck at "pdfConverting" and has been now for 45 min. I have not submitted another job, just checking to see if this is common, or perhaps just have a stuck job that I should leave alone. Doesn't seem to be any reasonable timeout, shouldn't this just fail at some point?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see below that this job started at 10:12 am (EDT), it is now 11:00 am (EDT).&lt;/P&gt;&lt;P&gt;I welcome any thoughts.&lt;/P&gt;&lt;P&gt;Tom S.&lt;/P&gt;&lt;P&gt;-------&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;H5&gt;{&lt;BR /&gt;"jobId": "9d32e8f7aab848838c6a5dafe5876273",&lt;BR /&gt;"jobStatus": "esriJobExecuting",&lt;BR /&gt;"jobStatusInfo": {&lt;BR /&gt;"detailedStatus": "pdfConverting",&lt;BR /&gt;"startTime": 1626876778114,&lt;BR /&gt;"progress": 0&lt;BR /&gt;},&lt;BR /&gt;"submitted": 1626876773217,&lt;BR /&gt;"resultInfo": {&lt;BR /&gt;"title": "testreport",&lt;BR /&gt;"totalCount": 466&lt;BR /&gt;},&lt;BR /&gt;"inputInfo": {&lt;BR /&gt;"jobType": "createReport",&lt;BR /&gt;"parameters": {&lt;BR /&gt;"featureLayerUrl": "&lt;A href="https://services.arcgis.com/dIXa9SwblWkgom0n/ArcGIS/rest/services/" target="_blank" rel="noopener"&gt;https://services.arcgis.com/dIXa9SwblWkgom0n/ArcGIS/rest/services/&lt;/A&gt;&amp;lt;name&amp;gt;/FeatureServer/0",&lt;BR /&gt;"queryParameters": {&lt;BR /&gt;"where": "Vetted = 1"&lt;BR /&gt;},&lt;BR /&gt;"templateItemId": "e4e4........",&lt;BR /&gt;"surveyItemId": "053acb2.........",&lt;BR /&gt;"outputFormat": "pdf",&lt;BR /&gt;"outputReportName": "testreport"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/H5&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Thu, 22 Jul 2021 15:36:21 GMT</pubDate>
    <dc:creator>TomSchwartzman</dc:creator>
    <dc:date>2021-07-22T15:36:21Z</dc:date>
    <item>
      <title>createReport via API - job stuck at pdfConverting</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/createreport-via-api-job-stuck-at-pdfconverting/m-p/1081339#M36042</link>
      <description>&lt;P&gt;(EDIT: I submitted this job again and it finished in under 5 seconds, so this first job below is just "stuck" somehow.&amp;nbsp; I would think it would timeout and fail at some point but it has not yet, 25 hours in).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been experimenting with the reporting API.&amp;nbsp; I successfully created a summary report template which runs quickly from the UI, and also have had success running it via the API.&amp;nbsp; This is a very simple summary report on 466 records (just returns record count), which produces a small pdf file (36k).&lt;/P&gt;&lt;P&gt;However, on a new submission via API for the same summary template, the job is stuck at "pdfConverting" and has been now for 45 min. I have not submitted another job, just checking to see if this is common, or perhaps just have a stuck job that I should leave alone. Doesn't seem to be any reasonable timeout, shouldn't this just fail at some point?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see below that this job started at 10:12 am (EDT), it is now 11:00 am (EDT).&lt;/P&gt;&lt;P&gt;I welcome any thoughts.&lt;/P&gt;&lt;P&gt;Tom S.&lt;/P&gt;&lt;P&gt;-------&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;H5&gt;{&lt;BR /&gt;"jobId": "9d32e8f7aab848838c6a5dafe5876273",&lt;BR /&gt;"jobStatus": "esriJobExecuting",&lt;BR /&gt;"jobStatusInfo": {&lt;BR /&gt;"detailedStatus": "pdfConverting",&lt;BR /&gt;"startTime": 1626876778114,&lt;BR /&gt;"progress": 0&lt;BR /&gt;},&lt;BR /&gt;"submitted": 1626876773217,&lt;BR /&gt;"resultInfo": {&lt;BR /&gt;"title": "testreport",&lt;BR /&gt;"totalCount": 466&lt;BR /&gt;},&lt;BR /&gt;"inputInfo": {&lt;BR /&gt;"jobType": "createReport",&lt;BR /&gt;"parameters": {&lt;BR /&gt;"featureLayerUrl": "&lt;A href="https://services.arcgis.com/dIXa9SwblWkgom0n/ArcGIS/rest/services/" target="_blank" rel="noopener"&gt;https://services.arcgis.com/dIXa9SwblWkgom0n/ArcGIS/rest/services/&lt;/A&gt;&amp;lt;name&amp;gt;/FeatureServer/0",&lt;BR /&gt;"queryParameters": {&lt;BR /&gt;"where": "Vetted = 1"&lt;BR /&gt;},&lt;BR /&gt;"templateItemId": "e4e4........",&lt;BR /&gt;"surveyItemId": "053acb2.........",&lt;BR /&gt;"outputFormat": "pdf",&lt;BR /&gt;"outputReportName": "testreport"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/H5&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 22 Jul 2021 15:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/createreport-via-api-job-stuck-at-pdfconverting/m-p/1081339#M36042</guid>
      <dc:creator>TomSchwartzman</dc:creator>
      <dc:date>2021-07-22T15:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: createReport via API - job stuck at pdfConverting</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/createreport-via-api-job-stuck-at-pdfconverting/m-p/1088792#M36491</link>
      <description>&lt;P&gt;Thanks Tom for reaching out to the team earlier, as I explained in the email, we do have a mechanism to raise errors for jobs over 24 hours, but apparently it didn’t work as expected and we will&amp;nbsp;further investigate this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Jody Zheng Liu&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 08:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/createreport-via-api-job-stuck-at-pdfconverting/m-p/1088792#M36491</guid>
      <dc:creator>JodyZhengLiu</dc:creator>
      <dc:date>2021-08-13T08:51:23Z</dc:date>
    </item>
  </channel>
</rss>

