<?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 Synchronize Error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/synchronize-error/m-p/855324#M3993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used &lt;STRONG&gt;create_replica&lt;/STRONG&gt; to successfully create a replica between to GISs but cannot get the subsequent sync using the &lt;STRONG&gt;sync_replicated_items.&lt;/STRONG&gt;&amp;nbsp; Traceback shows an "HTTP Error 498" which eludes to the service URL not being passed a token.&amp;nbsp; There is a subsequent error but that appears to be related to the first.&amp;nbsp; Both GISs are AGOL based and am using the current API on my ArcPro install, v1.5.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 831, in get&lt;BR /&gt; resp = opener.open(url)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 532, in open&lt;BR /&gt; response = meth(req, response)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 642, in http_response&lt;BR /&gt; 'http', request, response, code, msg, hdrs)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 570, in error&lt;BR /&gt; return self._call_chain(*args)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 504, in _call_chain&lt;BR /&gt; result = func(*args)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 650, in http_error_default&lt;BR /&gt; raise HTTPError(req.full_url, code, msg, hdrs, fp)&lt;BR /&gt;urllib.error.HTTPError: HTTP Error 498: 498&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "D:\Temp\test.py", line 33, in &amp;lt;module&amp;gt;&lt;BR /&gt; sync_extint = arcgis.features.FeatureLayerCollection(ext_fs_url,extGIS).replicas.sync_replicated_items(ext_item,int_item,"NWD Levee Assessment")&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\managers.py", line 697, in sync_replicated_items&lt;BR /&gt; out_path=tempfile.gettempdir())&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\layer.py", line 2347, in _synchronize_replica&lt;BR /&gt; token=self._token)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 906, in get&lt;BR /&gt; return self.get(newpath, ssl, try_json, is_retry=True)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 798, in get&lt;BR /&gt; params['f'] = 'json'&lt;BR /&gt;TypeError: 'bool' object does not support item assignment&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2019 16:40:24 GMT</pubDate>
    <dc:creator>SeanRedar</dc:creator>
    <dc:date>2019-05-06T16:40:24Z</dc:date>
    <item>
      <title>Synchronize Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/synchronize-error/m-p/855324#M3993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used &lt;STRONG&gt;create_replica&lt;/STRONG&gt; to successfully create a replica between to GISs but cannot get the subsequent sync using the &lt;STRONG&gt;sync_replicated_items.&lt;/STRONG&gt;&amp;nbsp; Traceback shows an "HTTP Error 498" which eludes to the service URL not being passed a token.&amp;nbsp; There is a subsequent error but that appears to be related to the first.&amp;nbsp; Both GISs are AGOL based and am using the current API on my ArcPro install, v1.5.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 831, in get&lt;BR /&gt; resp = opener.open(url)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 532, in open&lt;BR /&gt; response = meth(req, response)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 642, in http_response&lt;BR /&gt; 'http', request, response, code, msg, hdrs)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 570, in error&lt;BR /&gt; return self._call_chain(*args)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 504, in _call_chain&lt;BR /&gt; result = func(*args)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 650, in http_error_default&lt;BR /&gt; raise HTTPError(req.full_url, code, msg, hdrs, fp)&lt;BR /&gt;urllib.error.HTTPError: HTTP Error 498: 498&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "D:\Temp\test.py", line 33, in &amp;lt;module&amp;gt;&lt;BR /&gt; sync_extint = arcgis.features.FeatureLayerCollection(ext_fs_url,extGIS).replicas.sync_replicated_items(ext_item,int_item,"NWD Levee Assessment")&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\managers.py", line 697, in sync_replicated_items&lt;BR /&gt; out_path=tempfile.gettempdir())&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\layer.py", line 2347, in _synchronize_replica&lt;BR /&gt; token=self._token)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 906, in get&lt;BR /&gt; return self.get(newpath, ssl, try_json, is_retry=True)&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 798, in get&lt;BR /&gt; params['f'] = 'json'&lt;BR /&gt;TypeError: 'bool' object does not support item assignment&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 16:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/synchronize-error/m-p/855324#M3993</guid>
      <dc:creator>SeanRedar</dc:creator>
      <dc:date>2019-05-06T16:40:24Z</dc:date>
    </item>
  </channel>
</rss>

