laptop and a wrench

Bug

Unable to log in to ArcGIS Enterprise through the 'Generate tokens' method using ArcGIS API for Python 2.0.0.

Last Published: July 8, 2022 ArcGIS API for Python
Bug ID Number BUG-000150571
SubmittedJuly 6, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found2.0.0
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusNon-Reproducible

Additional Information

The issue is not reproducible in v2.0.1.

Workaround

  • Use the following code to authenticate to Portal for ArcGIS:
    • from arcgis.gis import GIS
    • portal = GIS(url= "<portalURL>", username= '<username>', password= '<password>')
  • Use ArcGIS API for Python 1.9.1.

Steps to Reproduce

Bug ID: BUG-000150571

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options