Avoiding Extract by mask error 999999?

I have encountered this error multiple times but still havent figured out why exactly it happens. The only thing that always works for me is when I dont change the default save location (default geodatabase) and output file name. Then the tool works correctly for some reason. As soon as I select my own workspace to save the output or rename the output in the tool dialogue box, the error re-appears. Dont know if this will help you since you have so many rasters.


This error and many others happens, when vector and raster coordinate system are different, you must change both to same coordinate system and it will work hopefully without errors in future. :)


The output raster needs to be saved in a file geodatabase instead of a normal folder. This will stop the unknown error: 999999