You'll probably get more and better answers in the appropriate forum: Geoprocessing or Spatial Analyst.From your post, I'll toss out an uneducated guess; are you using the getcellvalue on a raster that isn't a multiband (aka an image)? If so, my guess is you'll need to be licensed for the spatial analyst extension.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.