laptop and a wrench

Bug

When publishing a web tool that calls an ArcGIS Server token function in the main function to a portal, ArcGIS Pro returns the following error message, "Staging failed."

Last Published: March 15, 2019 ArcGIS Pro
Bug ID Number BUG-000119625
SubmittedJanuary 25, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.3
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusNon-Reproducible

Additional Information

The issue is non-reproducible in ArcGIS Pro 3.1 and 11.1.

Workaround

If an older version of ArcGIS Pro is used to reproduce the issue, use the following workaround.

For example:

  1. Current script:
    1. agol = "https://www.arcgis.com/"
    2. ags = "https://sampleserver6.arcgisonline.com/arcgis/tokens/generateToken"
  2. Altered script:
    1. agol = "https://" + "www.arcgis.com/"
    2. ags = "https://" + "sampleserver6.arcgisonline.com/arcgis/tokens/generateToken"

Steps to Reproduce

Bug ID: BUG-000119625

Software:

  • ArcGIS Pro

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