<?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: Download feature service as file geodatabase in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837622#M3378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out a workaround for this bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;from arcgis.gis import GIS&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;gis = GIS("&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;", USER, PASSWORD)&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;servicio = gis.content.get('XXXXXXXXXXX')&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;servicio.export(nombre, 'File Geodatabase', parameters=None, wait='True')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt; items = gis.content.search(nombre)&lt;BR /&gt; fgdb = gis.content.get(items[0].itemid)&lt;BR /&gt; fgdb.download(save_path=arcpy.env.scratchFolder)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation for the API is a bit tricky, but if you search content you can get the item ID of the new item (FGDB). Anyway, the export function should not be asyncronous when you use the parameter wait = True. That means, if you call the export function inside a variable, why does it register as downloaded although the download is not finished yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 11:55:36 GMT</pubDate>
    <dc:creator>XabierVelasco_Echeverría</dc:creator>
    <dc:date>2018-01-30T11:55:36Z</dc:date>
    <item>
      <title>Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837620#M3376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apply the following workflow to download a hosted feature service as a file geodatabase:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;BR /&gt;&lt;SPAN&gt;gis = GIS("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com" rel="nofollow" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN&gt;", USER, PASSWORD)&lt;/SPAN&gt;&lt;BR /&gt;servicio = gis.content.get('XXXXXXXXXXX')&lt;BR /&gt;itemDescargar = servicio.export(nombre, 'File Geodatabase', parameters=None, wait='True') &lt;BR /&gt;fgdb = gis.content.get(itemDescargar ['exportItemId'])&lt;BR /&gt;fgdb.download(save_path='c:\modelbuilder')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I execute like this, the downloaded ZIP has 1 KB. If I wait several seconds to download, the downloaded ZIP has the proper size (14MB). That means,&amp;nbsp;servicio.export is still working while I try to download as I am calling from a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I instead execute&amp;nbsp;&lt;SPAN&gt;servicio.export(nombre, 'File Geodatabase', parameters=None, wait='True')&amp;nbsp;without a variable, the process finishes correctly before the next line of code is executed, but then I do not know what is the value of exportItemId in order to download it. How do I get the results of&amp;nbsp;servicio.export? I mean, how do I get values from the output message? i.e.&amp;nbsp; {'type': 'file', 'size': 61145088, 'jobId': '359e30e3-0fc7-4925-8e92-354a4ccdd478::XXXXXXXX', 'serviceItemId': 'XXXXXXXX', 'exportFormat': 'fileGeodatabase', 'exportItemId': 'XXXXXXXXX'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 11:09:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837620#M3376</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2018-01-24T11:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837621#M3377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;For the API developers:&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Summing it up, how may I access the dictionary that outputs from an item.export? You can do that with the function results in arcpy, what is the proper way to do it with the arcgis module? I guess it should be super easy, but could not find examples in the documentation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 08:55:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837621#M3377</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2018-01-26T08:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837622#M3378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out a workaround for this bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;from arcgis.gis import GIS&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;gis = GIS("&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;", USER, PASSWORD)&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;servicio = gis.content.get('XXXXXXXXXXX')&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;servicio.export(nombre, 'File Geodatabase', parameters=None, wait='True')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt; items = gis.content.search(nombre)&lt;BR /&gt; fgdb = gis.content.get(items[0].itemid)&lt;BR /&gt; fgdb.download(save_path=arcpy.env.scratchFolder)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation for the API is a bit tricky, but if you search content you can get the item ID of the new item (FGDB). Anyway, the export function should not be asyncronous when you use the parameter wait = True. That means, if you call the export function inside a variable, why does it register as downloaded although the download is not finished yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 11:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837622#M3378</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2018-01-30T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837623#M3379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was also intermittently getting the 1 KB zipped file export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a lot of testing, I found a solution that has been working for me.&amp;nbsp; I used &lt;A href="https://community.esri.com/migrated-users/211980"&gt;Xabier Velasco Echeverría&lt;/A&gt;'s &amp;nbsp;script (above) as a starting point and made a couple of additions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I added a line when exporting the hosted feature layer to an AGOL File GDB to wait 10 seconds to allow extra time while it searches ArcGIS Online for the item. This has avoided the error that it responds that the File Geodatabase the script created does not exist in ArcGIS Online.&lt;/LI&gt;&lt;LI&gt;I added a While statement to verify the zipped file downloaded is a valid zipped file (not a 1 KB file). If not, the download will run again and again until a valid zipped file is downloaded.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 21:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837623#M3379</guid>
      <dc:creator>Tom_Laue</dc:creator>
      <dc:date>2018-10-15T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837624#M3380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested your script. Ran it in the arcgis pro version of python. And it worked first time.&lt;BR /&gt;Excellent documentation in the python script for novices like me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837624#M3380</guid>
      <dc:creator>Sveinung_Bertnes_Råheim</dc:creator>
      <dc:date>2018-10-30T08:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837625#M3381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this script - but am getting an error:&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;&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; File "c:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis.py", line 2590, in __getattr__&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise AttributeError("'%s' object has no attribute '%s'" % (type(self).__name__, name))&lt;BR /&gt;AttributeError: 'Item' object has no attribute 'export'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not sure why the item doesn't have this ability? In the settings in AGOL I have this turned on&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/451007_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Darryl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 22:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837625#M3381</guid>
      <dc:creator>DarrylKlassen1</dc:creator>
      <dc:date>2019-06-20T22:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837626#M3382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darryl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the size of the geodatabase that you are trying to download?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 09:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837626#M3382</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2019-06-27T09:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837627#M3383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the exact size since it is coming from AGOL, but it is a feature service hosted by AGOL with under 100 points, and only about 10 attributes.&amp;nbsp; So quite small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837627#M3383</guid>
      <dc:creator>DarrylKlassen1</dc:creator>
      <dc:date>2019-06-27T14:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837628#M3384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, could you please post the code you are executing so that I may&amp;nbsp;check what is going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837628#M3384</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2019-06-28T07:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837629#M3385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;import os&lt;BR /&gt;import arcpy&lt;BR /&gt;from datetime import datetime&lt;BR /&gt;n = datetime.now()&lt;BR /&gt;datestamp = n.strftime("%B_%d_%Y")&lt;BR /&gt;mxd = arcpy.mapping.MapDocument(r"D:\temp\AGOL_Data.mxd")&lt;BR /&gt;df = arcpy.mapping.ListDataFrames(mxd)[0]&lt;BR /&gt;destPath = r"D:\temp"&lt;BR /&gt;outgdb = destPath + "\\GarbageCanSDE.gdb"&lt;BR /&gt;for lyr in arcpy.mapping.ListLayers(mxd, '', df):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if lyr.isFeatureLayer == True:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d = lyr.name.encode('ascii', 'ignore')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d = d.replace(' ','_')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #file_name = d + "_" + datestamp + ".shp"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_name = outgdb + "\\" + d + "_" + datestamp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dest1 = os.path.join(destPath, file_name)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(file_name)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(type(file_name))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(dest1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if arcpy.Exists(dest1):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management(dest1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print("deleted")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(lyr, dest1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pass&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 15:30:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837629#M3385</guid>
      <dc:creator>DarrylKlassen1</dc:creator>
      <dc:date>2019-06-28T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837630#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this.&lt;/P&gt;&lt;P&gt;I was getting the "'dict' object has no attribute 'download'" error until I changed the wait parameter from a string:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;servicio.export(nombre, 'File Geodatabase', parameters=None, wait='True')&lt;/SPAN&gt;&lt;SPAN style="border: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; padding: 0px;"&gt;to a boolean:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="border: 0px; padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;servicio.export(nombre, 'File Geodatabase', parameters=None, wait=True)&lt;/SPAN&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jun 2019 16:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837630#M3386</guid>
      <dc:creator>AllanKrygeris1</dc:creator>
      <dc:date>2019-06-30T16:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837631#M3387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darryl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that piece of code there is no reference to the ArcGIS Python API...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Xabier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 07:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837631#M3387</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2019-07-01T07:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837632#M3388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone tried using the Windows Task Scheduler to run this script when not logged in to their computer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue were the Task Scheduler will start the script, creates the temporary file geodatabase in AGO and then stops?&amp;nbsp; To set up the task, I followed:&amp;nbsp; &lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/schedule-a-python-script-or-model-to-run-at-a-prescribed-time-2019-update/" title="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/schedule-a-python-script-or-model-to-run-at-a-prescribed-time-2019-update/"&gt;Schedule a Python script or model to run at a prescribed time: 2019 update&lt;/A&gt; stored my credentials, and ran with highest privileges.&amp;nbsp; I've also checked the box to "Allow others to export to different formats" on the hosted feature service.&amp;nbsp; For reference, the Windows Task Scheduler runs the script perfectly if I am logged in to the computer.&amp;nbsp; Any thoughts??&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/343125"&gt;Tom Laue&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/211980"&gt;Xabier Velasco Echeverría&lt;/A&gt;‌&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 16:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837632#M3388</guid>
      <dc:creator>Danielle_Journey</dc:creator>
      <dc:date>2019-07-23T16:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837633#M3389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We will be trying to do so with FME software.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837633#M3389</guid>
      <dc:creator>RichardFisher</dc:creator>
      <dc:date>2019-07-30T17:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837634#M3390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While borrowing from many of these comments and script ideas you all have posted, I have an error in python right after the download from AGOL to the local zip file. Where it seems the test for valid zip is not done fast enough to prevent one extra loop from trying the download, or it is some kind of timeout as this runs for an hour.&lt;/P&gt;&lt;P&gt;This is the part that finishes creating the correct zip file download but errors off right at the end in the ArcGIS Pro connection.py and request.py.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that I can put in a try catch and work around this, but would prefer to understand the issue and have it work with out that tactic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt;'''while statement runs until a valid zipped file is created'''&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;zipfullpath&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;os.path.join(outputFolder,GDBname&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;".zip"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c586c0;"&gt;while&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; zipfile.is_zipfile(zipfullpath)&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;==&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;False&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;print&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"looping: "&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4ec9b0;"&gt;str&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(datetime.now()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; fgb.download(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;save_path&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;outputFolder)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;zf &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ZipFile(os.path.join(outputFolder,GDBname&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;".zip"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-indent: -.25in;"&gt;looping: 2019-07-29 13:26:10.354947&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;Traceback (most recent call last):&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 849, in get&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;resp = opener.open(url)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 532, in open&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;response = meth(req, response)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 642, in http_response&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;'http', request, response, code, msg, hdrs)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 570, in error&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;return self._call_chain(*args)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 504, in _call_chain&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;result = func(*args)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 650, in http_error_default&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;raise HTTPError(req.full_url, code, msg, hdrs, fp)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;error.HTTPError: HTTP Error 498: 498&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;During handling of the above exception, another exception occurred:&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;Traceback (most recent call last):&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "c:\Users\xxx\.vscode\extensions\ms-python.python-2019.6.24221\pythonFiles\ptvsd_launcher.py", line 43, in &amp;lt;module&amp;gt;&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;main(ptvsdArgs)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "c:\Users\xxx\.vscode\extensions\ms-python.python-2019.6.24221\pythonFiles\lib\python\ptvsd\__main__.py", line 434, in main&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;run()&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "c:\Users\xxx\.vscode\extensions\ms-python.python-2019.6.24221\pythonFiles\lib\python\ptvsd\__main__.py", line 312, in run_file&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;run_path(target, run_name='__main__')&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\runpy.py", line 263, in run_path&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;pkg_name=pkg_name, script_name=fname)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\runpy.py", line 96, in _run_module_code&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;mod_name, mod_spec, pkg_name, script_name)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\runpy.py", line 85, in _run_code&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;exec(code, run_globals)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "c:\wip\sandbox\agol_py\ArcGIS API AGOL Download Feature Layer as GDB_Python3.py", line 45, in &amp;lt;module&amp;gt;&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;download(save_path=outputFolder)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 7032, in download&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;out_folder=save_path, try_json=False, force_bytes=False)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 924, in get&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;return self.get(newpath, ssl, try_json, is_retry=True)&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 816, in get&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;params['f'] = 'json'&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;TypeError: 'bool' object does not support item assignment&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;At the bottom it also seems that in connection.py the bool test is not valid around line 815&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #c586c0;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; try_json:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; params[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'f'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'json'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837634#M3390</guid>
      <dc:creator>RichardFisher</dc:creator>
      <dc:date>2019-07-30T17:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837635#M3391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did change the code to load the bool check of is a proper zip file and it ran through with the result finishing and creating the valid zip file of the download but with an error still&lt;/P&gt;&lt;P&gt;Reason for exception 'bool' object does not support item assignment&lt;/P&gt;&lt;P&gt;I took this to mean it was still failing in the arcpro connection.py on line 816 trying to check for a Boolean json.&lt;/P&gt;&lt;P&gt;I have not tried this yet but possibly I am missing a parameter of 'f' and setting it to fgd ?? Hard to find the documentation on this as it relates to fgb.dowload.&lt;/P&gt;&lt;P&gt;As of now it just takes in the file name, but in the manual web interface you do have to choose a shapefile or fgdb or etc....&lt;/P&gt;&lt;DIV style="color: #d4d4d4; line-height: 19px; font-family: Consolas, 'Courier New', monospace; font-size: 14px; font-weight: normal; white-space: pre; background-color: #1e1e1e;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;fgb.download(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;save_path&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;outputFolder)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;If I find an answer I will update this memo....&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 816, in get&lt;/LI&gt;&lt;LI style="color: #000000; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;params['f'] = 'json'&lt;/LI&gt;&lt;LI style="color: #000000; font-size: 11pt;"&gt;TypeError: 'bool' object does not support item assignment&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 20:41:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837635#M3391</guid>
      <dc:creator>RichardFisher</dc:creator>
      <dc:date>2019-07-31T20:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837636#M3392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Removing the loop seems to solve the issue and keeps the correct data downloaded.&lt;/P&gt;&lt;P&gt;There is a new issue that I will enter in a new thread - The manual or via python download of AGOL Hosted feature to a fgdb changes the creator and edited by fields to be the account doing the download - I did take some input from a post regarding params for publishing that would preserver tracking data and when I try it, the export still runs but does not preserve the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 14:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837636#M3392</guid>
      <dc:creator>RichardFisher</dc:creator>
      <dc:date>2019-08-06T14:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837637#M3393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard, what is the size of the data you are downloading? I had tu use the loop as there were issues while downloading big geodatabases (i.e. 1.8GB) without the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 05:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837637#M3393</guid>
      <dc:creator>XabierVelasco_Echeverría</dc:creator>
      <dc:date>2019-08-07T05:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837638#M3394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xabier - The compressed file is 1,052,933 KB.&lt;/P&gt;&lt;P&gt;So there were two issues as you can see, the one updating the records with the script login is the most painful as it alters the content and is not just a harmless download of data as a back up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently if I don't use the look it works well except the parameter to not update the 'creator' and the 'edited by' fields are ignored and updated by the login running the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I include the loop it also finishes with a complete download but fails on the bool issue testing the zip file which I believe but can't prove is back in the arcpro py File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 816, in get&lt;/P&gt;&lt;UL&gt;&lt;LI style="color: #000000; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;params['f'] = 'json'&lt;/LI&gt;&lt;LI style="color: #000000; font-size: 11pt;"&gt;TypeError: 'bool' object does not support item assignment&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 12:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837638#M3394</guid>
      <dc:creator>RichardFisher</dc:creator>
      <dc:date>2019-08-07T12:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Download feature service as file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837639#M3395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a great script and I have gotten the .zip file to download.&amp;nbsp; However, the script seems to be getting stuck&amp;nbsp;and never gets passed&amp;nbsp;"Zipping exported geodatabase for download...", When I finally stop the script, the .zip file is there with all of the expected data, but not sure why I can't get the script to complete.&amp;nbsp; Can you offer any insight?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 13:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/download-feature-service-as-file-geodatabase/m-p/837639#M3395</guid>
      <dc:creator>SurveyAdmin</dc:creator>
      <dc:date>2020-05-20T13:24:44Z</dc:date>
    </item>
  </channel>
</rss>

