<?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: Send Error: truncated in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881935#M30818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally figured out what was happening.&amp;nbsp; There are certain instances where I used != in a calculation and the the outcome was different then expected.&amp;nbsp; I had not noticed it before as they were calculate fields and I did not see the outcome.&amp;nbsp; When I found the first one I changed them all to note types and sure enough they all had the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Original calculation&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;that produces a&amp;nbsp;long&amp;nbsp;output (see screenshot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'N'),string('NR'),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and selected(${SD_COLOR_TYPE},'Other'),concat(${SD_COLOR_TYPE},',',${SD_COLOR_OTHER}),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and &lt;STRONG&gt;${SD_COLOR_TYPE}!=Other,&lt;/STRONG&gt;${SD_COLOR_TYPE},string(''))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Modified calculation&lt;/STRONG&gt;&lt;/SPAN&gt; that gets the desired outcome.&amp;nbsp; I tried to shortcut by using the != exclusion but it cannot be combined with other if then statements it seems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'N'),string('NR'),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and selected(${SD_COLOR_TYPE},'Other'),concat(${SD_COLOR_TYPE},',',${SD_COLOR_OTHER}),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and &lt;STRONG&gt;(selected(${SD_COLOR_TYPE},'None') or selected(${SD_COLOR_TYPE},'Yellow') or selected(${SD_COLOR_TYPE},'Brown') or selected(${SD_COLOR_TYPE},'White') or selected(${SD_COLOR_TYPE},'Gray'))&lt;/STRONG&gt;,${SD_COLOR_TYPE},string(''))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/445174_AGO Send Error truncated.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2019 18:43:35 GMT</pubDate>
    <dc:creator>KatherinePadilla</dc:creator>
    <dc:date>2019-04-29T18:43:35Z</dc:date>
    <item>
      <title>Send Error: truncated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881931#M30814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot figure out what in my survey is truncating.&amp;nbsp; I have attached the xls and the logger.&amp;nbsp; I have gone through the xls twice and cannot find what is going wrong.&amp;nbsp; I tried to look at the logger but I don't quite understand yet how to read these.&amp;nbsp; Any help would be great.&amp;nbsp; Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Katie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/442247_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 21:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881931#M30814</guid>
      <dc:creator>KatherinePadilla</dc:creator>
      <dc:date>2019-04-16T21:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error: truncated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881932#M30815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error means you are trying to send data in one of the fields which is longer than the field length set on that field. It could be caused by a calculation or pulldata function you are using where you are putting a larger string into a field, but the feature service has had that field set shorter than the length of the string trying to be submitted. You need to shorten the string in that field, or change the field length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 13:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881932#M30815</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-18T13:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error: truncated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881933#M30816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the logger indicate what field or fields were truncated?  This would be helpful to help me narrow down the search and save some time in trying to locate the error.  I tried to review the logger but I don’t understand it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 14:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881933#M30816</guid>
      <dc:creator>KatherinePadilla</dc:creator>
      <dc:date>2019-04-18T14:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error: truncated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881934#M30817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katherine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No unfortunately not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 04:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881934#M30817</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-23T04:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error: truncated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881935#M30818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally figured out what was happening.&amp;nbsp; There are certain instances where I used != in a calculation and the the outcome was different then expected.&amp;nbsp; I had not noticed it before as they were calculate fields and I did not see the outcome.&amp;nbsp; When I found the first one I changed them all to note types and sure enough they all had the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Original calculation&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;that produces a&amp;nbsp;long&amp;nbsp;output (see screenshot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'N'),string('NR'),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and selected(${SD_COLOR_TYPE},'Other'),concat(${SD_COLOR_TYPE},',',${SD_COLOR_OTHER}),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and &lt;STRONG&gt;${SD_COLOR_TYPE}!=Other,&lt;/STRONG&gt;${SD_COLOR_TYPE},string(''))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Modified calculation&lt;/STRONG&gt;&lt;/SPAN&gt; that gets the desired outcome.&amp;nbsp; I tried to shortcut by using the != exclusion but it cannot be combined with other if then statements it seems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'N'),string('NR'),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and selected(${SD_COLOR_TYPE},'Other'),concat(${SD_COLOR_TYPE},',',${SD_COLOR_OTHER}),if((selected(${EVENT_TYPE},'R_Sample') or selected(${EVENT_TYPE},'R_Resample')) and (selected(${SD_FLOW_OBSERVED_TYPE},'Flowing') or selected(${SD_FLOW_OBSERVED_TYPE},'Tidal')) and selected(${SD_FIELD_SCREEN_IND},'Y') and &lt;STRONG&gt;(selected(${SD_COLOR_TYPE},'None') or selected(${SD_COLOR_TYPE},'Yellow') or selected(${SD_COLOR_TYPE},'Brown') or selected(${SD_COLOR_TYPE},'White') or selected(${SD_COLOR_TYPE},'Gray'))&lt;/STRONG&gt;,${SD_COLOR_TYPE},string(''))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/445174_AGO Send Error truncated.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 18:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881935#M30818</guid>
      <dc:creator>KatherinePadilla</dc:creator>
      <dc:date>2019-04-29T18:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error: truncated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881936#M30819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hello &lt;A href="https://community.esri.com/group/4077"&gt;Survey123 for ArcGIS&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;team,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am facing this same issue with the&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: #f6f6f6; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;string or binary&amp;nbsp;data would be truncated. The statements has been truncated.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Just like&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/302468"&gt;Brandon Adcock&lt;/A&gt;‌&amp;nbsp;&lt;/SPAN&gt;I've spent several hours triple checking each field length and the possible answers that can go into them, either from a select_one‌&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or a&lt;SPAN&gt;&amp;nbsp;calculation in survey 123‌&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- they all have plenty of spare space. What my troubleshooting has unearthed is that I&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;CAN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;successfully submit through survey123 windows 10, but can&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;NOT&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;through&lt;SPAN&gt;&amp;nbsp;survey123 android‌&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or survey123 ios Therefore can &lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or another member of the&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.esri.com/group/4077"&gt;Survey123 for ArcGIS&lt;/A&gt;‌&amp;nbsp;&lt;/SPAN&gt;team please tell me if there are differences between the way the three versions calculate values or append metadata that I am unaware of?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thanks&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;A&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;PS: Also posted &lt;A _jive_internal="true" href="https://community.esri.com/thread/231617-string-or-binary-data-would-be-truncated-error"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 13:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-truncated/m-p/881936#M30819</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2019-05-01T13:24:44Z</dc:date>
    </item>
  </channel>
</rss>

