laptop and a wrench

Erro

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

ArcGIS Online
Número de ID do Erro BUG-000171602
EnviadoOctober 18, 2024
Última ModificaçãoJune 19, 2025
Aplica-se àArcGIS Online
Versão encontradaJune 2024
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusAs Designed

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000171602

Software:

  • ArcGIS Online

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download