<?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 Problem when downloading metadata in arcgis online in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-when-downloading-metadata-in-arcgis-online/m-p/800188#M2030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm downloding metadata from items in ArcGIS Online. For that to happen it is required that the 'Metadata" keyword is in the typeKeywords list. I'm updating this keyword when not found. Anyway some items will return None when you try to access their metadata. I went online and tried to visualize the metadata and got the error bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="font-size: 0.75em; border-bottom: 1px solid #e5eff7; font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;" width="100%"&gt;&lt;TBODY&gt;&lt;TR valign="top"&gt;&lt;TD&gt;&lt;STRONG&gt;ArcGIS Portal Directory&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing"&gt;Home&lt;/A&gt;&lt;/TD&gt;&lt;TD align="right"&gt;Logged in as:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing/rest/community/users/msilva"&gt;msilva&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing/rest/logout"&gt;Logout&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing/rest/generateToken"&gt;Generate Token&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE style="margin: 0px 0px 3px; padding-top: 0px; border-bottom: 1px solid #000000; background-color: #e5eff7; font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 0.8em; font-weight: bold; padding-bottom: 5px;"&gt;Error&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;H3&gt;Unable to transform metadata for item '6941bae88d6c44d89fb0c68b647c3644'&lt;/H3&gt;&lt;BR /&gt;&lt;STRONG&gt;Error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;500&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Then instead of visualizing it I click the editing option and then click Save and Close. Next time I try to download the metadata it will work.&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;I don't know what is happening but I would like to know how can I programmatically mimic the save and close in my jypyter notebook so that I can download it all without manually handle the problematic items.&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Any ideas?&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Thanks in advance&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Marcus&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 14:03:59 GMT</pubDate>
    <dc:creator>MarcusSilva</dc:creator>
    <dc:date>2017-12-15T14:03:59Z</dc:date>
    <item>
      <title>Problem when downloading metadata in arcgis online</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-when-downloading-metadata-in-arcgis-online/m-p/800188#M2030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm downloding metadata from items in ArcGIS Online. For that to happen it is required that the 'Metadata" keyword is in the typeKeywords list. I'm updating this keyword when not found. Anyway some items will return None when you try to access their metadata. I went online and tried to visualize the metadata and got the error bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="font-size: 0.75em; border-bottom: 1px solid #e5eff7; font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;" width="100%"&gt;&lt;TBODY&gt;&lt;TR valign="top"&gt;&lt;TD&gt;&lt;STRONG&gt;ArcGIS Portal Directory&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing"&gt;Home&lt;/A&gt;&lt;/TD&gt;&lt;TD align="right"&gt;Logged in as:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing/rest/community/users/msilva"&gt;msilva&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing/rest/logout"&gt;Logout&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gspsolucoes.maps.arcgis.com/sharing/rest/generateToken"&gt;Generate Token&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE style="margin: 0px 0px 3px; padding-top: 0px; border-bottom: 1px solid #000000; background-color: #e5eff7; font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 0.8em; font-weight: bold; padding-bottom: 5px;"&gt;Error&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;H3&gt;Unable to transform metadata for item '6941bae88d6c44d89fb0c68b647c3644'&lt;/H3&gt;&lt;BR /&gt;&lt;STRONG&gt;Error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;500&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Then instead of visualizing it I click the editing option and then click Save and Close. Next time I try to download the metadata it will work.&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;I don't know what is happening but I would like to know how can I programmatically mimic the save and close in my jypyter notebook so that I can download it all without manually handle the problematic items.&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Any ideas?&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Thanks in advance&lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 0.8em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Marcus&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 14:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-when-downloading-metadata-in-arcgis-online/m-p/800188#M2030</guid>
      <dc:creator>MarcusSilva</dc:creator>
      <dc:date>2017-12-15T14:03:59Z</dc:date>
    </item>
  </channel>
</rss>

