<?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 Item metadata and resources properties not working properly in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-metadata-and-resources-properties-not-working/m-p/1633106#M11502</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS API for Python version:&lt;/STRONG&gt;&lt;BR /&gt;2.4.0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Enterprise:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;11.3&lt;/P&gt;&lt;P&gt;when running following code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS

item_id = ...
my_dir = ...
item_resources_path = ...

gis = GIS(profile='my_profile')
item_obj = gis.content.get(item_id)

"""If no metadata available, we will get metadata.xml with title: Error: Metadata file does not exist or is inaccessible."""
item_obj.download_metadata(my_dir) 

"""If no resources available, we will get .zip file, which is in fact HTML document"""
item_obj.resources.export(item_resources_path)
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like a BUG in the API. Have anyone encountered this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mikael&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 12:31:03 GMT</pubDate>
    <dc:creator>MikaelJ</dc:creator>
    <dc:date>2025-07-15T12:31:03Z</dc:date>
    <item>
      <title>Item metadata and resources properties not working properly</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-metadata-and-resources-properties-not-working/m-p/1633106#M11502</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS API for Python version:&lt;/STRONG&gt;&lt;BR /&gt;2.4.0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Enterprise:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;11.3&lt;/P&gt;&lt;P&gt;when running following code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS

item_id = ...
my_dir = ...
item_resources_path = ...

gis = GIS(profile='my_profile')
item_obj = gis.content.get(item_id)

"""If no metadata available, we will get metadata.xml with title: Error: Metadata file does not exist or is inaccessible."""
item_obj.download_metadata(my_dir) 

"""If no resources available, we will get .zip file, which is in fact HTML document"""
item_obj.resources.export(item_resources_path)
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like a BUG in the API. Have anyone encountered this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mikael&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 12:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/item-metadata-and-resources-properties-not-working/m-p/1633106#M11502</guid>
      <dc:creator>MikaelJ</dc:creator>
      <dc:date>2025-07-15T12:31:03Z</dc:date>
    </item>
  </channel>
</rss>

