Frequently asked question

What are the most common reasons for errors returned by the Extract by Mask tool?

Last Published: October 4, 2024

Several situations can result in the Spatial Analyst Extract by Mask tool returing Error 999999.  Among the most common reasons why the tool might return this error message are:

  • The input data is from a map service, not a feature service or image service.  A map service can contain multiple layers of different data types. and the Extract by Mask tool is unable to pick apart the specific raster that is the target of the tool.
  • There may not be enough space in the output location for the output raster to be written.
  • The tool may be pointing the output data to a folder, which will write an ArcInfo GRID by default.  A GRID cannot be written to a location with a space in the path name.  More reliable results will be obtained writing the output to a file geodabase raster.
  • The user experiencing the error may not have write permission to the selected output location.
  • Using the tool against an image service that may have export limits.
Error 999999 may be returned for other reasons, but these are the most common. 

Article ID: 000033073

Software:
  • Desktop Extensions
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 3
  • ArcGIS Pro 3 0
  • ArcGIS Pro 3 2

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options