laptop and a wrench

Bug

SpatialDataFrame.from_layer() returns the error message, "Exception: Token Required (Error Code: 499)" when connecting to the GIS object using the OAuth2 authentication.

Last Published: November 3, 2021 ArcGIS API for Python
Bug ID Number BUG-000136625
SubmittedJanuary 8, 2021
Last ModifiedOctober 24, 2023
Applies toArcGIS API for Python
Version found1.8.1
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

The SpatialDataFrame is deprecated and is removed at ArcGIS API for Python version 2.0.0. Use the following instead: pd.DataFrame.spatial.from_layer()

Workaround

Connect to the GIS object using an administrator URL for Portal for ArcGIS (:7443/arcgis), and connect as a built-in user.

Steps to Reproduce

Bug ID: BUG-000136625

Software:

  • ArcGIS API for Python

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic