<?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: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp;amp; ArcGIS Online (Jupyter) in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1018003#M5452</link>
    <description>&lt;P&gt;Yup, I took your advice and posted as an issue on their github, hopefully they will get this fixed soon as it’s pretty frustrating and has me wondering if this is also the root cause of some other issues I’ve been experiencing between arcpy and AGOL.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 16:58:35 GMT</pubDate>
    <dc:creator>markjones6</dc:creator>
    <dc:date>2021-01-19T16:58:35Z</dc:date>
    <item>
      <title>Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017710#M5443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When trying to use the Spatially Enabled Dataframe via a Jupyter Notebook:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sdf = pd.DataFrame.spatial.from_layer(featLayer)
sdf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-intense-fg ansi-bold"&gt;Exception&lt;/SPAN&gt;: Could not load the dataset: Token Required
Token Required
(Error Code: 499)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My authentication to ArcGIS Online is OK, I can search and use content via the same authentication, but when i try the sdf, this error appears - does anyone have any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 16:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017710#M5443</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-01-18T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017729#M5444</link>
      <description>&lt;P&gt;this situation?&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNjYyNQ==" target="_blank"&gt;BUG-000136625: SpatialDataFrame.from_layer() returns the error: "Ex.. (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 18:19:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017729#M5444</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-18T18:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017733#M5445</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;That’s the exact error yes, but as my situation is specifically with ArcGIS Online would this solution still apply? Also, our org is active directory managed and built in users are prohibited.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mark&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jan 2021 18:29:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017733#M5445</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-01-18T18:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017740#M5446</link>
      <description>&lt;P&gt;I would post an issue on their github site&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api" target="_blank"&gt;Esri/arcgis-python-api: Documentation and samples for ArcGIS API for Python (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;they don't visit here often&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 19:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017740#M5446</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-18T19:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017793#M5447</link>
      <description>&lt;P&gt;Do you have access to that layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;More details (code) will be helpful to pin-point the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 22:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017793#M5447</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2021-01-18T22:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017795#M5448</link>
      <description>&lt;P&gt;Yeah, so the layer is owned by myself and I am admin on the AGOL organisation in question, so there shouldn’t be any authentication issue, in actual fact if I try to create a sdf in a notebook in AGOL itself, it works perfectly using the same item and code, so it appears to be the OAuth2 authentication.&lt;/P&gt;&lt;P&gt;Once I’ve authenticated using my client ID and have a token, I use the following:&lt;/P&gt;&lt;P&gt;item = gis.content.get("itemid")&lt;BR /&gt;featLayer = item.layers[0]&lt;/P&gt;&lt;P&gt;sdf = pd.DataFrame.spatial.from_layer(featlayer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 23:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017795#M5448</guid>
      <dc:creator>markjones6</dc:creator>
      <dc:date>2021-01-18T23:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017810#M5449</link>
      <description>&lt;P&gt;I did a quick test on my portal, reproduced the error you are experiencing.&amp;nbsp; It seems caused by the bug &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;mentioned above&lt;/P&gt;&lt;P&gt;We can only hope ESRI can get it fixed very soon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, except the "Alternative Solutions" mentioned by ESRI, another workaround is to Share the item to Everyone if it is an option.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 00:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017810#M5449</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2021-01-19T00:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017981#M5451</link>
      <description>&lt;P&gt;The workaround apparently, wasn't tested and since the status is New, then that is the only alternative for the moment&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 16:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1017981#M5451</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-19T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1018003#M5452</link>
      <description>&lt;P&gt;Yup, I took your advice and posted as an issue on their github, hopefully they will get this fixed soon as it’s pretty frustrating and has me wondering if this is also the root cause of some other issues I’ve been experiencing between arcpy and AGOL.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 16:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1018003#M5452</guid>
      <dc:creator>markjones6</dc:creator>
      <dc:date>2021-01-19T16:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Token required, Error 499 when trying to use Spatially Enabled Dataframe &amp; ArcGIS Online (Jupyter)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1043903#M5886</link>
      <description>&lt;P&gt;I am also having the same issue and posted in the same &lt;A href="https://github.com/Esri/arcgis-python-api/issues/905" target="_self"&gt;issue&lt;/A&gt;.&amp;nbsp; I am using esri living atlas layer for state boundary and having the exact same issue. I am puzzled since the same exact code worked up until few weeks ago. I think this is a major issue that needs to be addressed for anyone who is using Python API to create and process a spatially enabled dataframe.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 18:19:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/token-required-error-499-when-trying-to-use/m-p/1043903#M5886</guid>
      <dc:creator>Shingo-Ikeda</dc:creator>
      <dc:date>2021-04-05T18:19:58Z</dc:date>
    </item>
  </channel>
</rss>

