<?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: Extract Changes always gives Replica Errors in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1089724#M41765</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/264770"&gt;@MikeSlattery&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, my response to this post is not an answer to your question, but rather is support for your initial problem.&amp;nbsp; I, too, am receiving replica errors when running the same process in Integromat, built from the same guide you referenced above.&amp;nbsp; Specifically, my error is coming in when making a request to the StatusURL, and my error reads as follows: "Unable to synchronize replica...Error in processing replica sync request"&lt;/P&gt;&lt;P&gt;&amp;nbsp;In my situation, my webhook is set up on a Workforce assignments layer (which is Sync enabled).&amp;nbsp; I need to extract attributes from a workforce assignment once it is marked as "complete" for further processing and report generation.&amp;nbsp; This wasn't an issue with the previous version of Workforce, but since they upgraded to the "offline compatible" sync-enabled version I'm experiencing this issue.&amp;nbsp; I can't seem to get past this in order to extract the needed attributes for my process.&amp;nbsp; Since your last post on this was in January, I'm curious if you found a solution to the problem?&amp;nbsp; If not, hopefully someone else can chime in with some guidance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 19:05:29 GMT</pubDate>
    <dc:creator>TylerBragg2</dc:creator>
    <dc:date>2021-08-17T19:05:29Z</dc:date>
    <item>
      <title>Extract Changes always gives Replica Errors</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1017988#M38062</link>
      <description>&lt;P&gt;I have a webhook on a feature layer/table collection that delivers extract changes information in its payload.&amp;nbsp; &amp;nbsp;I always get back a replica error.&lt;/P&gt;&lt;P&gt;It doesn't seem to matter how I make the request or if the request contains updates/deletes/etc.&lt;/P&gt;&lt;P&gt;I followed this article&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/sharing-collaboration/how-to-create-a-hosted-feature-service-webhook/" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/sharing-collaboration/how-to-create-a-hosted-feature-service-webhook/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to try to use the URL from the payload (which does not contain the layer id, but that didn't make a difference either).&amp;nbsp; The collection and the layer and table all have&amp;nbsp;"Create,Delete,Query,Update,Editing,Extract,Sync,ChangeTracking" on.&lt;/P&gt;&lt;P&gt;Unless there is another way to keep atomic change records, I need this to work.&amp;nbsp; Any clues about the layer config or URLs/args would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 17:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1017988#M38062</guid>
      <dc:creator>MikeSlattery</dc:creator>
      <dc:date>2021-01-19T17:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Changes always gives Replica Errors</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1018102#M38071</link>
      <description>&lt;P&gt;I think my problem is with this particular FeatureLayerCollection, or one of its parts.&amp;nbsp; &amp;nbsp;I assembled a prototype using python and lots of add_to_definition(), then I cloned it to make this item.&amp;nbsp; &amp;nbsp; The webhooks work and the relationships seem to work too.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 20:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1018102#M38071</guid>
      <dc:creator>MikeSlattery</dc:creator>
      <dc:date>2021-01-19T20:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Changes always gives Replica Errors</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1018723#M38112</link>
      <description>&lt;P&gt;I created the layer in the UI and added fields and a table using python.&amp;nbsp; &amp;nbsp; &amp;nbsp;Now extract_changes works for the layer, but not for the table (which is layers[1] in the calls but tables[0] in properties.&amp;nbsp; &amp;nbsp;The table has all the edit tracking fields that the layer does.&lt;/P&gt;&lt;P&gt;I see no serverGens being made in the table definition, even though the webhook is sending alerts and serverGen values when the table is edited, with layerID 1.&lt;/P&gt;&lt;P&gt;The table has a relationship to the layer - so are all changes then reflected on layer 0?&amp;nbsp; &amp;nbsp; If I use layer zero and the serverGen value on layer 0 it works for the features.&amp;nbsp; &amp;nbsp;But I get 'Invalid syncLayer parameters' with the table.&amp;nbsp; Am I getting this call wrong or was there something missing with the manual table addition?&amp;nbsp; There is a new LayerOverrides section which does include 'capabilities' that worries me...&amp;nbsp; &amp;nbsp;Thanks all.&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;xdict=flc_obj.extract_changes(layers=[1],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;servergen=[{ "id" : 1, "serverGen" : 1432995 }],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;return_ids_only=False,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;return_inserts=True,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;return_updates=True,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;return_deletes=True)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;also the layer collection has what looks like perLayer configs on&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;"syncEnabled" : true,&lt;BR /&gt;"syncCapabilities" : {&lt;BR /&gt;"supportsAsync" : true,&lt;BR /&gt;"supportsRegisteringExistingData" : true,&lt;BR /&gt;"supportsSyncDirectionControl" : true,&lt;BR /&gt;"supportsPerLayerSync" : true,&lt;BR /&gt;"supportsPerReplicaSync" : true,&lt;BR /&gt;"supportsSyncModelNone" : true,&lt;BR /&gt;"supportsRollbackOnFailure" : true,&lt;BR /&gt;"supportsAttachmentsSyncDirection" : true,&lt;BR /&gt;"supportsBiDirectionalSyncForServer" : true&lt;BR /&gt;}&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 17:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1018723#M38112</guid>
      <dc:creator>MikeSlattery</dc:creator>
      <dc:date>2021-01-21T17:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Changes always gives Replica Errors</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1089724#M41765</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/264770"&gt;@MikeSlattery&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, my response to this post is not an answer to your question, but rather is support for your initial problem.&amp;nbsp; I, too, am receiving replica errors when running the same process in Integromat, built from the same guide you referenced above.&amp;nbsp; Specifically, my error is coming in when making a request to the StatusURL, and my error reads as follows: "Unable to synchronize replica...Error in processing replica sync request"&lt;/P&gt;&lt;P&gt;&amp;nbsp;In my situation, my webhook is set up on a Workforce assignments layer (which is Sync enabled).&amp;nbsp; I need to extract attributes from a workforce assignment once it is marked as "complete" for further processing and report generation.&amp;nbsp; This wasn't an issue with the previous version of Workforce, but since they upgraded to the "offline compatible" sync-enabled version I'm experiencing this issue.&amp;nbsp; I can't seem to get past this in order to extract the needed attributes for my process.&amp;nbsp; Since your last post on this was in January, I'm curious if you found a solution to the problem?&amp;nbsp; If not, hopefully someone else can chime in with some guidance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1089724#M41765</guid>
      <dc:creator>TylerBragg2</dc:creator>
      <dc:date>2021-08-17T19:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Changes always gives Replica Errors</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1165439#M45637</link>
      <description>&lt;P&gt;Chiming in here as well.&amp;nbsp; I have the same issue with, from what I can tell, is a properly configured hosted feature layer.&amp;nbsp; The only small wrinkle with this particular layer is that it is participating in a distributed collaboration.&amp;nbsp; I have other web hooks that are working fine, this one repeatedly&amp;nbsp; returns 'Error in processing replica sync request.' on the extractChanges check.&amp;nbsp; Any help would be great!&lt;/P&gt;&lt;P&gt;ESRI?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/extract-changes-always-gives-replica-errors/m-p/1165439#M45637</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2022-04-18T21:22:56Z</dc:date>
    </item>
  </channel>
</rss>

