<?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: How to access 'unable to unregister replica' error message in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809165#M1544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you're busy with UC so this probably won't get looked at for a few weeks.... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;but thought I'd update while I remember...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my testing, it seems that the RuntimeError object doesn't get populated with anything in this scenario. If I console log&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;error&lt;/SPAN&gt;.category,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;error&lt;/SPAN&gt;.description

they are both undefined.

The GeodatabaseSyncStatusInfo object's 'status' gets set to a rather generic '5' which just means 'Failed' and doesn't provide any useful info.


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:56:40 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-12T16:56:40Z</dc:date>
    <item>
      <title>How to access 'unable to unregister replica' error message</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809163#M1542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I call the unregister method on a geodatabase, I can it to unregister successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if, for some reason (say, a bug in my code or something outside my control like someone manually shifting geodatabase files around!), the code tried to unregister a geodatabase that had already been unregistered, how to I access the error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fiddler I can see a JSON response along the lines of... &amp;nbsp; code 404, 'Replica with GUID.... does not exist on the server...' etc. That's fine, but I can't seem to figure out where I can access this error message from within the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809163#M1542</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-01-18T21:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to access 'unable to unregister replica' error message</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809164#M1543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, since the GeodatabaseSyncTask class inherits from RuntimeObject, it has an "error" signal - &lt;A class="link-titled" href="https://developers.arcgis.com/qt/10-2/qml/api-reference/class_runtime_object.html#aaacbe6ed84661d0ba0b69e8c5af3b50f" title="https://developers.arcgis.com/qt/10-2/qml/api-reference/class_runtime_object.html#aaacbe6ed84661d0ba0b69e8c5af3b50f"&gt;ArcGIS Runtime SDK for Qt QML API: RuntimeObject Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This passes through a RuntimeError. In theory, the error should be emitted through this signal, and you should be able to print out the description of the error. Hopefully that is what is happening here, but you never know. If you find a scenario where you aren't getting errors through this signal, but an operation fails silently, then this is likely a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809164#M1543</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2017-01-18T21:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to access 'unable to unregister replica' error message</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809165#M1544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you're busy with UC so this probably won't get looked at for a few weeks.... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;but thought I'd update while I remember...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my testing, it seems that the RuntimeError object doesn't get populated with anything in this scenario. If I console log&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;error&lt;/SPAN&gt;.category,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;error&lt;/SPAN&gt;.description

they are both undefined.

The GeodatabaseSyncStatusInfo object's 'status' gets set to a rather generic '5' which just means 'Failed' and doesn't provide any useful info.


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:56:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-access-unable-to-unregister-replica-error/m-p/809165#M1544</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T16:56:40Z</dc:date>
    </item>
  </channel>
</rss>

