The error message, "Unable to generate token" is returned when trying to list the Portal for ArcGIS federated servers when using the Integrated Windows Authentication (IWA) authentication scheme to log in to Portal for ArcGIS via Python API.
上次发布: September 12, 2018ArcGIS API for Python
漏洞 ID 编号
BUG-000116560
已提交
September 4, 2018
上次修改时间
July 13, 2025
适用范围
ArcGIS API for Python
找到的版本
1.5
操作系统
Windows OS
操作系统版本
2012 R2
修正版本
1.7.0
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Use all credentials in the GIS class. For example, GIS (portal, usr, pwd).