laptop and a wrench

Error

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

ArcGIS Online
Número de ID del error BUG-000171602
EnviadoOctober 18, 2024
Última modificaciónJune 19, 2025
Relacionado conArcGIS Online
Versión encontradaJune 2024
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000171602

Software:

  • ArcGIS Online

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga