laptop and a wrench

Bug

Publishing a large cache content to Portal for ArcGIS with the gis.datastore.publish function fails and returns the following error message, "You do not have permissions to access this resource or perform this operation. (Error Code: 403)."

Last Published: March 4, 2023 ArcGIS API for Python
Bug ID Number BUG-000148356
SubmittedApril 7, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version foundN/A
Operating SystemWindows OS
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

The user script has a typo in it and the variables given in as the properties needed to be modified.

Workaround

The "properties": {"pathInCachedStore":"cachepath ", "cacheStoreId": "cache_store_id",} are set to be a string and not pass the variable values. Move the quotes around the cache_store_id and cachepath. When using the Extract Package tool, check the Create Ready To Serve Cache Dataset check box.

Steps to Reproduce

Bug ID: BUG-000148356

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