<?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: Value's type doesn't match the vector's value type in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580419#M4987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two properties make an error unique - the domain and the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Domains will commonly map to a specific error code enumeration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the domain "com.esri.arcgis.runtime.error"&amp;nbsp;which equals `AGSErrorDomain`, the codes you look at are in the enumeration `AGSErrorCode`. Within that enumeration, the code 2 is:&lt;/P&gt;&lt;P&gt;`AGSErrorCodeCommonInvalidArgument = &lt;SPAN class=""&gt;2`. So you have an Invalid Argument somewhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;In xcode, set a breakpoint on c++ exceptions. Then when that error occurs you can look at the callstack and see what you may be doing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I would also make sure to address all the warnings in your project. It may be that you are putting a string in an array that takes a `AGSField` or something like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If that doesn't help, please consider providing us some code that reproduces the issue so that we can help diagnose what is going wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2019 20:29:12 GMT</pubDate>
    <dc:creator>RyanOlson1</dc:creator>
    <dc:date>2019-02-12T20:29:12Z</dc:date>
    <item>
      <title>Value's type doesn't match the vector's value type</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580418#M4986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the process of converting an app from 10.2.5 to v100 SDK. &amp;nbsp;Getting tons of these types of errors when my feature table queries are running:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Runtime Error Occurred. Set a breakpoint on C++ exceptions to see the original callstack and context for this error:&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Error Domain=com.esri.arcgis.runtime.error Code=2 "Invalid argument" UserInfo={NSLocalizedFailureReason=value's type doesn't match the vector's value type., NSLocalizedDescription=Invalid argument, Additional Message=value's type doesn't match the vector's value type.}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error code 2 is sort of a generic invalid argument thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what vector this error is referring to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 22:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580418#M4986</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-02-04T22:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Value's type doesn't match the vector's value type</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580419#M4987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two properties make an error unique - the domain and the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Domains will commonly map to a specific error code enumeration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the domain "com.esri.arcgis.runtime.error"&amp;nbsp;which equals `AGSErrorDomain`, the codes you look at are in the enumeration `AGSErrorCode`. Within that enumeration, the code 2 is:&lt;/P&gt;&lt;P&gt;`AGSErrorCodeCommonInvalidArgument = &lt;SPAN class=""&gt;2`. So you have an Invalid Argument somewhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;In xcode, set a breakpoint on c++ exceptions. Then when that error occurs you can look at the callstack and see what you may be doing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I would also make sure to address all the warnings in your project. It may be that you are putting a string in an array that takes a `AGSField` or something like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If that doesn't help, please consider providing us some code that reproduces the issue so that we can help diagnose what is going wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580419#M4987</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2019-02-12T20:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Value's type doesn't match the vector's value type</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580420#M4988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the whole "vector" think was throwing me and leading me down a wild goose chase looking for some invalid geometry somewhere. &amp;nbsp;Turns out I was using an old school array of field names in my AGSQueryParameters where clause instead of the newer array of AGSOrderBy objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I swear I'm up over 2000 changes converting this app from 10.2.5 to v100. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 21:14:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/value-s-type-doesn-t-match-the-vector-s-value-type/m-p/580420#M4988</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-02-12T21:14:20Z</dc:date>
    </item>
  </channel>
</rss>

