<?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 SQLite constraint error in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1139474#M10740</link>
    <description>&lt;P&gt;An FYI to the Runtime dev teams... Getting an odd SQLite error when trying to use sync replicas. This has also been observed in Collector:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-collector-questions/strange-error-with-sqlite/m-p/1096824/highlight/true#M13463" target="_self"&gt;https://community.esri.com/t5/arcgis-collector-questions/strange-error-with-sqlite/m-p/1096824/highlight/true#M13463&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A fix in Runtime is probably needed. Exception below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.ArcGISRuntimeException: SQLite constraint violation: SQLite: 19&lt;BR /&gt;Abort due to constraint violation&lt;/P&gt;&lt;P&gt;- at Esri.ArcGISRuntime.ArcGISException.HandleCoreError (RuntimeCoreNet.GeneratedWrappers.CoreError error, System.Boolean throwException)&lt;BR /&gt;- at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError (System.IntPtr errorHandle, System.Boolean throwOnFailure, System.Runtime.InteropServices.GCHandle wrapperHandle)&lt;BR /&gt;- at RuntimeCoreNet.GeneratedWrappers.CoreArcGISMapImageSublayer.get_Table ()&lt;BR /&gt;- at Esri.ArcGISRuntime.Mapping.ArcGISMapImageSublayer.&amp;lt;get_Table&amp;gt;b__43_0 (RuntimeCoreNet.GeneratedWrappers.CoreArcGISMapImageSublayer c)&lt;BR /&gt;- at Esri.ArcGISRuntime.Internal.RuntimeLazy.Make[T,U] (T&amp;amp; target, System.Boolean&amp;amp; initialized, System.Object locker, U factoryParam, System.Func&amp;lt;T,T1&amp;gt;[T,TResult] factory)&lt;BR /&gt;- at Esri.ArcGISRuntime.Internal.RuntimeLazy.Get[T,U] (T&amp;amp; target, System.Boolean&amp;amp; initialized, System.Object locker, U factoryParam, System.Func&amp;lt;T,T1&amp;gt;[T,TResult] factory)&lt;BR /&gt;- at Esri.ArcGISRuntime.Mapping.ArcGISMapImageSublayer.get_Table ()&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 18:08:04 GMT</pubDate>
    <dc:creator>JeremyBridges</dc:creator>
    <dc:date>2022-02-01T18:08:04Z</dc:date>
    <item>
      <title>SQLite constraint error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1139474#M10740</link>
      <description>&lt;P&gt;An FYI to the Runtime dev teams... Getting an odd SQLite error when trying to use sync replicas. This has also been observed in Collector:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-collector-questions/strange-error-with-sqlite/m-p/1096824/highlight/true#M13463" target="_self"&gt;https://community.esri.com/t5/arcgis-collector-questions/strange-error-with-sqlite/m-p/1096824/highlight/true#M13463&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A fix in Runtime is probably needed. Exception below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.ArcGISRuntimeException: SQLite constraint violation: SQLite: 19&lt;BR /&gt;Abort due to constraint violation&lt;/P&gt;&lt;P&gt;- at Esri.ArcGISRuntime.ArcGISException.HandleCoreError (RuntimeCoreNet.GeneratedWrappers.CoreError error, System.Boolean throwException)&lt;BR /&gt;- at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError (System.IntPtr errorHandle, System.Boolean throwOnFailure, System.Runtime.InteropServices.GCHandle wrapperHandle)&lt;BR /&gt;- at RuntimeCoreNet.GeneratedWrappers.CoreArcGISMapImageSublayer.get_Table ()&lt;BR /&gt;- at Esri.ArcGISRuntime.Mapping.ArcGISMapImageSublayer.&amp;lt;get_Table&amp;gt;b__43_0 (RuntimeCoreNet.GeneratedWrappers.CoreArcGISMapImageSublayer c)&lt;BR /&gt;- at Esri.ArcGISRuntime.Internal.RuntimeLazy.Make[T,U] (T&amp;amp; target, System.Boolean&amp;amp; initialized, System.Object locker, U factoryParam, System.Func&amp;lt;T,T1&amp;gt;[T,TResult] factory)&lt;BR /&gt;- at Esri.ArcGISRuntime.Internal.RuntimeLazy.Get[T,U] (T&amp;amp; target, System.Boolean&amp;amp; initialized, System.Object locker, U factoryParam, System.Func&amp;lt;T,T1&amp;gt;[T,TResult] factory)&lt;BR /&gt;- at Esri.ArcGISRuntime.Mapping.ArcGISMapImageSublayer.get_Table ()&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 18:08:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1139474#M10740</guid>
      <dc:creator>JeremyBridges</dc:creator>
      <dc:date>2022-02-01T18:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQLite constraint error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1139693#M10741</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;Could you try setting up the SyncDirection (&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Tasks.Offline.OfflineMapSyncParameters.SyncDirection.html" target="_blank"&gt;Property SyncDirection (arcgis.com)&lt;/A&gt;) to see if the error is happening on sync "&lt;SPAN&gt;Upload" or "Download"?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 01:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1139693#M10741</guid>
      <dc:creator>TonyWakim</dc:creator>
      <dc:date>2022-02-02T01:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: SQLite constraint error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1278920#M11785</link>
      <description>&lt;P&gt;Getting that same error but when trying to submit a record in fieldmaps, not savvy enough to know the steps to set up that sync direction you suggested but it says "unable to submit" before the rest of the error message for what that's worth.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 20:03:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/sqlite-constraint-error/m-p/1278920#M11785</guid>
      <dc:creator>MikePowers</dc:creator>
      <dc:date>2023-04-14T20:03:41Z</dc:date>
    </item>
  </channel>
</rss>

