<?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 Error: Failed to submit survey in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503329#M57803</link>
    <description>&lt;P&gt;It took a bit to troubleshoot.&amp;nbsp; It appears if Survey123 tries to populate a field with more than the default characters 255 the survey gives a random error at submission.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the field is read only or hidden, no warning shows in the survey itself&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It would be great if the survey gave a clearer error, to flag that the concatenated text contains more characters than a field allows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_1-1720565390585.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109273i2D4B0D53D743FB06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_1-1720565390585.png" alt="RyanBohan_1-1720565390585.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now that I know the error I can either increase the field or use substr(${field},0,255)&lt;/P&gt;&lt;P&gt;The tricky part as this is caused by a combination of fields, shorter fields will combine no problem, and you end up running in circles trying to find what is causing the error.&lt;/P&gt;&lt;P&gt;I have included my Survey123 xlsx to replicate the error&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 22:58:29 GMT</pubDate>
    <dc:creator>RyanBohan</dc:creator>
    <dc:date>2024-07-09T22:58:29Z</dc:date>
    <item>
      <title>Error: Failed to submit survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503329#M57803</link>
      <description>&lt;P&gt;It took a bit to troubleshoot.&amp;nbsp; It appears if Survey123 tries to populate a field with more than the default characters 255 the survey gives a random error at submission.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the field is read only or hidden, no warning shows in the survey itself&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It would be great if the survey gave a clearer error, to flag that the concatenated text contains more characters than a field allows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_1-1720565390585.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109273i2D4B0D53D743FB06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_1-1720565390585.png" alt="RyanBohan_1-1720565390585.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now that I know the error I can either increase the field or use substr(${field},0,255)&lt;/P&gt;&lt;P&gt;The tricky part as this is caused by a combination of fields, shorter fields will combine no problem, and you end up running in circles trying to find what is causing the error.&lt;/P&gt;&lt;P&gt;I have included my Survey123 xlsx to replicate the error&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 22:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503329#M57803</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2024-07-09T22:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Failed to submit survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503702#M57824</link>
      <description>&lt;P&gt;Have you tried changing the character limit for that field?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 17:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503702#M57824</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-07-10T17:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Failed to submit survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503704#M57825</link>
      <description>&lt;P&gt;Here it is in &lt;STRONG&gt;Connect&lt;/STRONG&gt;:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1720633469448.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109356iC25CFCA12FD7815A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1720633469448.png" alt="abureaux_0-1720633469448.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am opposed to the web tool and avoid it like the plague. However, I &lt;EM&gt;did&lt;/EM&gt; try looking for this parameter there... didn't find it so gave up. It may not be a web thing. Yet another reason to use Connect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 17:46:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503704#M57825</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-07-10T17:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Failed to submit survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503833#M57833</link>
      <description>&lt;P&gt;The survey I noticed the issue on is already live, and changing the schema will republish the survey and purge all previous entries.&lt;/P&gt;&lt;P&gt;I am currently truncating the results with&amp;nbsp;&lt;STRONG&gt;substr(${field},0,255)&lt;/STRONG&gt;, some data is lost but at least the user can input their survey.&lt;/P&gt;&lt;P&gt;It would be nice if the survey gave an error, such as "entry too large for field type"&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 20:29:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503833#M57833</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2024-07-10T20:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Failed to submit survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503837#M57834</link>
      <description>&lt;P&gt;It gives errors for text fields, but calculates are kind of a problem-child. They allow unlimited characters despite there being a character limit, and then you see issues like this when you try and submit.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;I have two suggestions:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Idea 1:&lt;/STRONG&gt; Create a &lt;EM&gt;new&lt;/EM&gt; field with increased character limit. All new submissions will work as intended&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Idea 2:&lt;/STRONG&gt; Forfeit the data in the problem field by going into Portal &amp;gt; open the Feature Layer &amp;gt; delete the old field &amp;gt; add a new field in (use the exact same &lt;EM&gt;name&lt;/EM&gt;, try to keep the label the same but it doesn't really matter, and provide a more appropriate character limit)&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Drawbacks:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Idea 1:&lt;/STRONG&gt; You will have two fields. Highly dependant on what you are collecting and why, but this may not be an issue and you can delete the old field at a later date.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Idea 2:&lt;/STRONG&gt; You will lose all the old data, but &lt;EM&gt;only&lt;/EM&gt; in this one field.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 20:36:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-failed-to-submit-survey/m-p/1503837#M57834</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-07-10T20:36:44Z</dc:date>
    </item>
  </channel>
</rss>

