<?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 send database error, possibly due to pulldata@layer in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272443#M48225</link>
    <description>&lt;P&gt;Have you manually set the length of your temporary fields?&lt;/P&gt;&lt;P&gt;Make sure that you set the length of the &lt;STRONG&gt;get_record1 &lt;/STRONG&gt;and &lt;STRONG&gt;gr1_shape_temp&lt;/STRONG&gt; fields to something really large. If you don't manually specify the length, even though it's a null field, the survey will truncate the text to something like 255 characters, so the returned JSON text is probably getting clipped.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 13:46:33 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2023-03-28T13:46:33Z</dc:date>
    <item>
      <title>Survey send database error, possibly due to pulldata@layer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272433#M48224</link>
      <description>&lt;P&gt;My survey is set up to calculate a geoshape question with the geometry from a hosted feature layer on the Portal. The calculation appears to work fine while filling out the form (building footprints appear in the map), but I receive a "database error" upon hitting submit.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why surveys would not submit when pulling in geometry from a hosted feature layer? Without the pull data geoshape calculation, surveys do submit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A screencap of my xls form is below. Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshanaghan_0-1680009886738.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66488iE8347DDF218BC597/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshanaghan_0-1680009886738.png" alt="mshanaghan_0-1680009886738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshanaghan_1-1680009899431.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66489i45B51DEC894160E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshanaghan_1-1680009899431.png" alt="mshanaghan_1-1680009899431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshanaghan_2-1680009910986.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66490iE9B2DCA5CED39298/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshanaghan_2-1680009910986.png" alt="mshanaghan_2-1680009910986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 13:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272433#M48224</guid>
      <dc:creator>mshanaghan</dc:creator>
      <dc:date>2023-03-28T13:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Survey send database error, possibly due to pulldata@layer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272443#M48225</link>
      <description>&lt;P&gt;Have you manually set the length of your temporary fields?&lt;/P&gt;&lt;P&gt;Make sure that you set the length of the &lt;STRONG&gt;get_record1 &lt;/STRONG&gt;and &lt;STRONG&gt;gr1_shape_temp&lt;/STRONG&gt; fields to something really large. If you don't manually specify the length, even though it's a null field, the survey will truncate the text to something like 255 characters, so the returned JSON text is probably getting clipped.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 13:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272443#M48225</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-03-28T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Survey send database error, possibly due to pulldata@layer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272457#M48226</link>
      <description>&lt;P&gt;That was exactly the problem. Thank you so much!&lt;/P&gt;&lt;P&gt;-Maegan&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 14:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-send-database-error-possibly-due-to/m-p/1272457#M48226</guid>
      <dc:creator>mshanaghan</dc:creator>
      <dc:date>2023-03-28T14:01:53Z</dc:date>
    </item>
  </channel>
</rss>

