Hey,
ArcGIS API for Python version:
2.4.0
ArcGIS Enterprise:
11.3
when running following code:
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)
It seems like a BUG in the API. Have anyone encountered this?
Regards,
Mikael