<?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: Illegal Start of Token iOS in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294279#M2645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are also seeing these errors, especially when checking offline databases from Collector or Runtime apps.&amp;nbsp; We've also noticed that if we try to edit the data in ArcGIS we get "edit buffer returned no data" errors.&amp;nbsp; For us the issue can be corrected by stopping services, deleting the database archive, and recreating it... however we still can't nail down the cause.&amp;nbsp; it happens frequently enough these days that it is a major concern for deploying apps.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Mar 2015 22:12:14 GMT</pubDate>
    <dc:creator>MichaelDavis3</dc:creator>
    <dc:date>2015-03-08T22:12:14Z</dc:date>
    <item>
      <title>Illegal Start of Token iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294274#M2640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I keep getting this error when adding features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two feature layers, and I am adding and updating features on them from an iOS app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I call add/update/deleteFeatures and check the didFailFeatureEditsWithError, the error is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Illegal Start of Token.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interesting thing is that some requests to update work, and some fail.&amp;nbsp; In the controller I am calling 3-4 updates.&lt;/P&gt;&lt;P&gt;Any ideas what this means?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294274#M2640</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2014-08-29T15:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal Start of Token iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294275#M2641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you make a network request and try to parse the JSON response you get this error if the response is not JSON.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen this most commonly when you get a HTML response (which starts with "&amp;lt;").&amp;nbsp; When that happens the error is &lt;SPAN style="color: #333333; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px;"&gt;"Illegal start of token [&amp;lt;]".&amp;nbsp; You can examine the UserInfo field in the NSError to see the actual responseString which might help you figure out what's wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Domain=org.domain.AGSSBJsonParser.ErrorDomain Code=0 "Illegal start of token [&amp;lt;]" UserInfo=0x19f7b130 {responseString=&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;html xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head id="Head1"&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 19:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294275#M2641</guid>
      <dc:creator>GaryMorris1</dc:creator>
      <dc:date>2014-08-29T19:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal Start of Token iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294276#M2642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kyle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder have you try over cellular network, or just on company wifi? This issue seems to be coming from the firewall. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 22:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294276#M2642</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2014-08-29T22:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal Start of Token iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294277#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been testing on the simulator over an ethernet connection.&lt;/P&gt;&lt;P&gt;Also have been testing on iPhone/iPad devices over a cellular network, hooked up to XCode to report errors.&lt;/P&gt;&lt;P&gt;Also have been running over a wi-fi hotspot through Verizon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seems to be no pattern to the errors.&amp;nbsp; Sometimes everything will work perfect for a couple hours.&amp;nbsp; Then sometimes a few update calls wont execute and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- (&lt;SPAN class="s1"&gt;void&lt;/SPAN&gt;)featureLayer:(&lt;SPAN class="s2"&gt;AGSFeatureLayer&lt;/SPAN&gt; *)featureLayer operation:(&lt;SPAN class="s2"&gt;NSOperation&lt;/SPAN&gt; *)op didFeatureEditsWithResults:(&lt;SPAN class="s2"&gt;AGSFeatureLayerEditResults&lt;/SPAN&gt; *)editResults&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will return a editResults.success of false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to replicate the error and use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - (&lt;SPAN class="s1"&gt;void&lt;/SPAN&gt;) featureLayer:(&lt;SPAN class="s2"&gt;AGSFeatureLayer&lt;/SPAN&gt; *)featureLayer operation:(&lt;SPAN class="s2"&gt;NSOperation&lt;/SPAN&gt; *)op didFailFeatureEditsWithError:(&lt;SPAN class="s2"&gt;NSError&lt;/SPAN&gt; *)error&lt;/P&gt;&lt;P class="p1"&gt;{&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="s3"&gt;NSLog&lt;/SPAN&gt;(&lt;SPAN class="s4"&gt;@"Error for %@"&lt;/SPAN&gt;, featureLayer.&lt;SPAN class="s2"&gt;name&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s5"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;NSLog&lt;SPAN class="s5"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;@"%@"&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;, [error &lt;/SPAN&gt;localizedDescription&lt;SPAN class="s5"&gt;]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="s3"&gt;NSLog&lt;/SPAN&gt;(&lt;SPAN class="s4"&gt;@"%@"&lt;/SPAN&gt;, [error &lt;SPAN class="s3"&gt;userInfo&lt;/SPAN&gt;]);&lt;/P&gt;&lt;P class="p1"&gt;}&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;to get some information.&amp;nbsp; If/When it errors again I will post the results of the didFail NSLogs.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 22:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294277#M2643</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2014-08-29T22:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal Start of Token iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294278#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have encountered the error "Illegal start of token &amp;lt;5" and were able to identify the problem to attachments with features added from Gallery/Library of the Mobile devices (iOS 8x in our case). Pictures taken while using the Collector App sync fine, however any picture added from gallery returns this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;P&gt;Environment Agency- Abu Dhabi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 11:39:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294278#M2644</guid>
      <dc:creator>RaviKrishna</dc:creator>
      <dc:date>2015-03-03T11:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal Start of Token iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294279#M2645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are also seeing these errors, especially when checking offline databases from Collector or Runtime apps.&amp;nbsp; We've also noticed that if we try to edit the data in ArcGIS we get "edit buffer returned no data" errors.&amp;nbsp; For us the issue can be corrected by stopping services, deleting the database archive, and recreating it... however we still can't nail down the cause.&amp;nbsp; it happens frequently enough these days that it is a major concern for deploying apps.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 22:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/illegal-start-of-token-ios/m-p/294279#M2645</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2015-03-08T22:12:14Z</dc:date>
    </item>
  </channel>
</rss>

