<?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: ArcGIS Notebook permissions error in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378271#M115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There does seem to be a lacking of practical examples.&amp;nbsp; It's just weird that I can manually do it, but the api errors out.&amp;nbsp; Hard saying where the disconnect is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2020 15:44:10 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2020-08-27T15:44:10Z</dc:date>
    <item>
      <title>ArcGIS Notebook permissions error</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378269#M113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experimenting with a simple notebook in my AGOL account, following this post&amp;nbsp;&lt;A href="https://community.esri.com/thread/252982" target="_blank"&gt;How to download feature layer(s) to local machine using notebook&lt;/A&gt;&amp;nbsp;as a template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code. Each block is a notebook cell:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcgis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;gis &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; GIS

gis &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GIS&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'home'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
item_id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'4f9d1d1301864f8cabef08cbae7b2d3c'&lt;/SPAN&gt;
item &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;item_id&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

item_gdb &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;export&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;title &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'_test'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'File Geodatabase'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It errors out at line 7 with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Exception&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; You do &lt;SPAN class="operator token"&gt;not&lt;/SPAN&gt; have permissions to access this resource &lt;SPAN class="operator token"&gt;or&lt;/SPAN&gt; perform this operation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Error Code&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;403&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What is odd about this is I can manually export the item from the item's details page without a problem, and the exported shapefile or gdb shows up in my root contents directory.&amp;nbsp; I must be missing a simple step, but I don't know what it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378269#M113</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-11T17:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Notebook permissions error</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378270#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.export" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.export"&gt;arcgis.gis module — arcgis 1.8.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;Exports a service item to the specified export format. Available only to users with an organizational subscription. Invokable only by the service item owner or an administrator. This is useful for long running exports that could hold up a script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;The help is short on anything useful re examples. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378270#M114</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-08-27T15:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Notebook permissions error</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378271#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There does seem to be a lacking of practical examples.&amp;nbsp; It's just weird that I can manually do it, but the api errors out.&amp;nbsp; Hard saying where the disconnect is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/arcgis-notebook-permissions-error/m-p/378271#M115</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-08-27T15:44:10Z</dc:date>
    </item>
  </channel>
</rss>

