<?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: Permissions issue in accessing geoenrichment in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/permissions-issue-in-accessing-geoenrichment/m-p/1066262#M6176</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"To use the&amp;nbsp;Enrich&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;tool, you must be signed in to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;ArcGIS Online&lt;/SPAN&gt;&lt;SPAN&gt;, and your account must have GeoEnrichment privileges." Enrich toll uses credits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.7/tool-reference/appendices/geoprocessing-tools-that-use-credits.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/2.7/tool-reference/appendices/geoprocessing-tools-that-use-credits.htm&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 05:21:51 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2021-06-09T05:21:51Z</dc:date>
    <item>
      <title>Permissions issue in accessing geoenrichment</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/permissions-issue-in-accessing-geoenrichment/m-p/1065755#M6175</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to ESRI/ArcGIS API for python. I am facing below error when accessing enrich method in&amp;nbsp;geoenrichment module&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS
from arcgis.geoenrichment import enrich

gis = GIS("https://www.arcgis.com", username = username, password = password)

analysis_variables = [
    'TOTPOP_CY',  # Population: Total Population (Esri)
    'DIVINDX_CY', # Diversity Index (Esri)
    'AVGHHSZ_CY', # Average Household Size (Esri)
    'MEDAGE_CY',  # Age: Median Age (Esri)
    'MEDHINC_CY', # Income: Median Household Income (Esri)
    'BACHDEG_CY', # Education: Bachelor's Degree (Esri)
]

usa = Country.get('US')
zip1 = usa.subgeographies.states['California'].zip5['90018']
zip2 = usa.subgeographies.states['California'].zip5['90023']
zip3 = usa.subgeographies.states['California'].zip5['90035']

enrich_df = enrich(study_areas=[zip1, zip2, zip3], analysis_variables=analysis_variables)

enrich_df&lt;/LI-CODE&gt;&lt;P&gt;Below is the error I am getting. Please let me know what is the problem here and how to resolve this.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-intense-fg ansi-bold"&gt;Exception&lt;/SPAN&gt;: You do not have permissions to use this resource.
(Error Code: 401)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/permissions-issue-in-accessing-geoenrichment/m-p/1065755#M6175</guid>
      <dc:creator>cbikkanur</dc:creator>
      <dc:date>2021-06-07T20:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issue in accessing geoenrichment</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/permissions-issue-in-accessing-geoenrichment/m-p/1066262#M6176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"To use the&amp;nbsp;Enrich&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;tool, you must be signed in to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;ArcGIS Online&lt;/SPAN&gt;&lt;SPAN&gt;, and your account must have GeoEnrichment privileges." Enrich toll uses credits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.7/tool-reference/appendices/geoprocessing-tools-that-use-credits.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/2.7/tool-reference/appendices/geoprocessing-tools-that-use-credits.htm&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 05:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/permissions-issue-in-accessing-geoenrichment/m-p/1066262#M6176</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2021-06-09T05:21:51Z</dc:date>
    </item>
  </channel>
</rss>

