laptop and a wrench

Bug

The Copy Raster tool from ArcPy executed in ArcGIS Online notebook results in a failure.

ArcGIS Online
Bug-ID-Nummer BUG-000171602
EingereichtOctober 18, 2024
Zuletzt geändertJune 19, 2025
Gilt fürArcGIS Online
Gefunden in VersionJune 2024
BetriebssystemN/A
BetriebssystemversionN/A
StatusAs Designed

Zusätzliche Informationen

The map service causing the error requires an ArcGIS Online login, so ArcPy must be signed in to access it. This can be done by calling `arcpy.SignInToPortal("notebook")` before running `arcpy.management.CopyRaster()`. The code works in ArcGIS Pro without an explicit sign-in because ArcGIS Pro Notebooks automatically sign in to the active portal, which, in this case, is ArcGIS Online. Please also note that map services are not officially supported by the Copy Raster tool. Typically, you would use an image service instead. For more details, refer to the Copy Raster (Data Management) documentation: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-raster.htm.

Schritte zur Reproduzierung

Bug-ID: BUG-000171602

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln