<?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: sync error - illegal start of token in ArcGIS Collector Questions</title>
    <link>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35782#M797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px;"&gt;I think there are three possible reasons I am aware of:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1. In iOS, you will meet this error if you have a Server feature service added as an item with stored credentials in ArcGIS Online. The feature service has attachment enabled. Then you add picture attachment made from photo library instead of camera. &lt;/LI&gt;&lt;LI&gt;2. This issue could be related to network. If you are using Web Adapter, try to increased the uploadReadAheadSize value on IIS and sometimes that was enough to fix the issue&lt;/LI&gt;&lt;LI&gt;3. time-out due to huge uploads (greater than a few GB on fast networks and greater than 100 MB on slower networks)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking if it may be related to reason #1. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2015 16:35:47 GMT</pubDate>
    <dc:creator>MiaogengZhang</dc:creator>
    <dc:date>2015-10-12T16:35:47Z</dc:date>
    <item>
      <title>sync error - illegal start of token</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35781#M796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Server 10.3.1, SDE gdb has archiving and editor tracking enabled. &lt;/P&gt;&lt;P&gt;Secured feature service using built-in token store; server is not federated.&lt;/P&gt;&lt;P&gt;Feat. service added to AGOL, with service credentials stored with item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Several successful sync's have been preformed, then Collector started reporting "illegal start of token" errors.&lt;/P&gt;&lt;P&gt;Any advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 12:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35781#M796</guid>
      <dc:creator>danbecker</dc:creator>
      <dc:date>2015-10-10T12:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: sync error - illegal start of token</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35782#M797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px;"&gt;I think there are three possible reasons I am aware of:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1. In iOS, you will meet this error if you have a Server feature service added as an item with stored credentials in ArcGIS Online. The feature service has attachment enabled. Then you add picture attachment made from photo library instead of camera. &lt;/LI&gt;&lt;LI&gt;2. This issue could be related to network. If you are using Web Adapter, try to increased the uploadReadAheadSize value on IIS and sometimes that was enough to fix the issue&lt;/LI&gt;&lt;LI&gt;3. time-out due to huge uploads (greater than a few GB on fast networks and greater than 100 MB on slower networks)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking if it may be related to reason #1. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35782#M797</guid>
      <dc:creator>MiaogengZhang</dc:creator>
      <dc:date>2015-10-12T16:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: sync error - illegal start of token</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35783#M798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked with field staff and new photos were always captured, never added from library, so we can rule out #1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since several prior sync's worked, I'm guessing it's either #2 or #3.&lt;/P&gt;&lt;P&gt;What is a good value for uploadReadAheadSize ? It's currently the default value 49152 byes. MS docs say 0 - 2147483647 bytes are acceptable values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35783#M798</guid>
      <dc:creator>danbecker</dc:creator>
      <dc:date>2015-10-12T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: sync error - illegal start of token</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35784#M799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background: white;"&gt;Modify the “uploadReadAheadSize” section to be like 20 million (the value there is in Bytes).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 18:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/sync-error-illegal-start-of-token/m-p/35784#M799</guid>
      <dc:creator>MiaogengZhang</dc:creator>
      <dc:date>2015-10-12T18:20:29Z</dc:date>
    </item>
  </channel>
</rss>

