laptop and a wrench

Bug

Non-interactive SAML login workflow in ArcGIS API for Python fails with the error, "UnboundLocalError: local variable 'code' referenced before assignment."

Last Published: November 27, 2020 ArcGIS API for Python
Bug ID Number BUG-000135374
SubmittedNovember 12, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.8.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusWill Not Be Addressed

Additional Information

Non-interactive workflows with SAML are not supported.

Workaround

Use built-in user account for a non-interactive login experience.

Steps to Reproduce

Bug ID: BUG-000135374

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