laptop and a wrench

Bug

The validate() method of the DataStoreManager class in the ArcGIS API for Python incorrectly returns False.

ArcGIS API for Python
Bug ID Number BUG-000172692
SubmittedNovember 27, 2024
Last ModifiedApril 9, 2025
Applies toArcGIS API for Python
Version found2.4
Operating SystemWindows OS
Operating System Version11.0 64 bit
Version Fixed2.4.1
StatusFixed

Additional Information

Reproduced and have a fix.

Workaround

Adding a call to the datastore's properties.path when accessing the same datastore for a loop, for example, causes it to validate as True.

Example:

server_test = gis_114.admin.servers.list()[0]

 

for d_store in server_test.datastores.list():

   print(d_store.properties.path)

   print(d_store.validate())

Steps to Reproduce

Bug ID: BUG-000172692

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