<?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 Featureservice replication fails to synchronize via REST in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/featureservice-replication-fails-to-synchronize/m-p/475204#M18367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've set up a Featureservice on an ArcGIS Server 10.1. Now I create a replication via the REST-API with an Ajax-request from a webpage. Then I try to synchronise my changes. Everything works fine except the synchronization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST-API gives me two error messages. 1. "Failed to synchronize.", 2. "Fehler beim Importieren von Datenänderungen in das Replikat." (in English: Error while importing the data changes into the replication)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My request data I send for the syncronization looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;f=json&amp;amp;replicaID=C78AFEBF-20D3-4A89-9324-C3B2F99D0D4D&amp;amp;replicaServerGen=0&amp;amp;closeReplica=true&amp;amp;returnIdsForAdds=true&amp;amp;transportType=esriTransportTypeEmbedded&amp;amp;edits=[{"id":0,"features":{"adds":[{"geometry":{"x":"1067609.375152","y":"6867831.061082"},"attributes":{"globalID":"{04af819d-07a0-4425-a979-3df9ec488cbe}"}}]}}]

Header fields:
Content-Type: application/x-www-form-urlencoded
Accept: application/json
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The logs in the server manager show me these errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;SEVERE Jul 11, 2013 10:27:49 AM Failed to synchronize.
SEVERE Jul 11, 2013 10:27:49 AM Failed to synchronize Replica (REPLICATIONNAME).
SEVERE Jul 11, 2013 10:27:36 AM Failed to open: Objekte_102100__ATTACH in Feature Workspace.
SEVERE Jul 11, 2013 10:27:36 AM Failed to open: Schilder_102100__ATTACH in Feature Workspace.
SEVERE Jul 11, 2013 10:27:36 AM Failed to open: Baeume_102100__ATTACH in Feature Workspace.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I do not even post any attachments with my request. &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Now the really strange part is, that the request from above runs fine if fired from a REST-Console.&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That's because I have no idea where to go from here to solve this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe anyone got an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 08:10:03 GMT</pubDate>
    <dc:creator>EikeLüders</dc:creator>
    <dc:date>2013-07-11T08:10:03Z</dc:date>
    <item>
      <title>Featureservice replication fails to synchronize via REST</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/featureservice-replication-fails-to-synchronize/m-p/475204#M18367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've set up a Featureservice on an ArcGIS Server 10.1. Now I create a replication via the REST-API with an Ajax-request from a webpage. Then I try to synchronise my changes. Everything works fine except the synchronization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST-API gives me two error messages. 1. "Failed to synchronize.", 2. "Fehler beim Importieren von Datenänderungen in das Replikat." (in English: Error while importing the data changes into the replication)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My request data I send for the syncronization looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;f=json&amp;amp;replicaID=C78AFEBF-20D3-4A89-9324-C3B2F99D0D4D&amp;amp;replicaServerGen=0&amp;amp;closeReplica=true&amp;amp;returnIdsForAdds=true&amp;amp;transportType=esriTransportTypeEmbedded&amp;amp;edits=[{"id":0,"features":{"adds":[{"geometry":{"x":"1067609.375152","y":"6867831.061082"},"attributes":{"globalID":"{04af819d-07a0-4425-a979-3df9ec488cbe}"}}]}}]

Header fields:
Content-Type: application/x-www-form-urlencoded
Accept: application/json
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The logs in the server manager show me these errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;SEVERE Jul 11, 2013 10:27:49 AM Failed to synchronize.
SEVERE Jul 11, 2013 10:27:49 AM Failed to synchronize Replica (REPLICATIONNAME).
SEVERE Jul 11, 2013 10:27:36 AM Failed to open: Objekte_102100__ATTACH in Feature Workspace.
SEVERE Jul 11, 2013 10:27:36 AM Failed to open: Schilder_102100__ATTACH in Feature Workspace.
SEVERE Jul 11, 2013 10:27:36 AM Failed to open: Baeume_102100__ATTACH in Feature Workspace.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I do not even post any attachments with my request. &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Now the really strange part is, that the request from above runs fine if fired from a REST-Console.&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That's because I have no idea where to go from here to solve this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe anyone got an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:10:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/featureservice-replication-fails-to-synchronize/m-p/475204#M18367</guid>
      <dc:creator>EikeLüders</dc:creator>
      <dc:date>2013-07-11T08:10:03Z</dc:date>
    </item>
  </channel>
</rss>

