laptop and a wrench

Bug

Using a stored profile for authentication with the ArcGIS API for Python causes ArcPy tools like ManageMapServerCacheTiles to fail with ERROR 999999.

ArcGIS API for Python
Bug ID Number BUG-000174570
SubmittedFebruary 26, 2025
Last ModifiedSeptember 26, 2025
Applies toArcGIS API for Python
Version found2.4
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusUnder Consideration

Workaround

Manually sign in to ArcGIS Pro before running the script and avoid using the stored profile and instead prompt for credentials at runtime.

Steps to Reproduce

Bug ID: BUG-000174570

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