Bug
Bug ID Number | BUG-000156523 |
---|---|
Submitted | March 12, 2023 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS API for Python |
Version found | 2.0.1 |
Operating System | Windows OS |
Operating System Version | 10.0 64 Bit |
Status | Will Not Be Addressed |
The ArcGIS Enterprise and Online system changed the login process to include things like email verification and security questions. It is recommend that when logging in via code using the Python API for the first time, use the `use_gen_token=True` for the first time and call `gis.user.me.update()` to set the security question. gis = GIS( url="SITE", username="USERNAME", password="PASSWORD", use_gen_token=True, ) gis.users.me.update(security_question=, security_answer="ENTER THE ANSWER") Once this is completed, log back into the system normally without the `use_gen_token`. gis = GIS( url="SITE", username="USERNAME", password="PASSWORD")
Bug ID: BUG-000156523
Software:
Get help from ArcGIS experts
Download the Esri Support App