<?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 Re: survey.generate_report flakily returns None in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871239#M4676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Brian, i think I figured out at least part of the problem is that your Enterprise needs to be externally accessible as the survey123.arcgis.com reporting service actually needs to query it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2020 02:20:32 GMT</pubDate>
    <dc:creator>DanMallett</dc:creator>
    <dc:date>2020-04-29T02:20:32Z</dc:date>
    <item>
      <title>survey.generate_report flakily returns None</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871236#M4673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px;"&gt;Hello, I'm experiencing&amp;nbsp;an issue with the ArcGIS Python&amp;nbsp;API for Survey123 (version 1.7.0) where a call to generate_report on my survey object unpredictably returns None. I have previously seen this behavior in cases&amp;nbsp;where the "where" parameter&amp;nbsp;results in&amp;nbsp;an empty selection, but I'm now seeing&amp;nbsp;it in cases where I select a global_id that definitely exists. The code works most of the time, and has so far&amp;nbsp;worked in these cases when I&amp;nbsp;retry the script, but having flaky issues makes it difficult to identify actual issues.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="margin-top: 1em; margin-bottom: 1em;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; "&gt;Is this a known bug? If not, I'd be happy to provide more details about our scenario to allow further investigation.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871236#M4673</guid>
      <dc:creator>BrianPugh</dc:creator>
      <dc:date>2019-11-05T17:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: survey.generate_report flakily returns None</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871237#M4674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having a similar issue.&amp;nbsp; It seems to be related to issues with the template but it is difficult to debug.&amp;nbsp; Did you get anywhere with this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 20:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871237#M4674</guid>
      <dc:creator>DanMallett</dc:creator>
      <dc:date>2020-04-28T20:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: survey.generate_report flakily returns None</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871238#M4675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, it&amp;nbsp;mysteriously stopped happening for me (not related to any Python API&amp;nbsp;updates&amp;nbsp;or code changes on my end). I would add though that mine&amp;nbsp;would return None for&amp;nbsp;a particular data point/template combination, then subsequently work for the same&amp;nbsp;report, so the template wasn't reliably breaking anything.&amp;nbsp;Perhaps there's some bunk error handling going on on the AGOL side that returns None for a class of issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;also encountered a case at one point where&amp;nbsp;None would be returned if&amp;nbsp;your&amp;nbsp;filters&amp;nbsp;cause an empty result, but that's somewhat more expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way--&amp;nbsp;wouldn't suggest going through support unless you have a surefire way to reproduce it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871238#M4675</guid>
      <dc:creator>BrianPugh</dc:creator>
      <dc:date>2020-04-28T21:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: survey.generate_report flakily returns None</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871239#M4676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Brian, i think I figured out at least part of the problem is that your Enterprise needs to be externally accessible as the survey123.arcgis.com reporting service actually needs to query it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 02:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/survey-generate-report-flakily-returns-none/m-p/871239#M4676</guid>
      <dc:creator>DanMallett</dc:creator>
      <dc:date>2020-04-29T02:20:32Z</dc:date>
    </item>
  </channel>
</rss>

