"invalid or missing input parameters" on computeStatisticsHistograms

2354
2
Jump to solution
02-03-2021 07:06 AM
LizEidsness
New Contributor III

I have an application that is requesting a computeStatisticsHistograms from our image service based on a user's feature selection.  The features vary in size.  I have noticed that I get this error returned for geometries over a certain size.  On layers that have higher resolution, that threshold is lower (only tolerates smaller geometries).  Clearly from the error, there is a size limit, but I can't find what it relates to.  

Using ArcGIS Server 10.4 but I also tried on an ArcGIS Online layer at 10.71.

error retured:

"code": 400,
  "message": "Invalid or missing input parameters.",
  "details": [
   "The requested image exceeds the size limit."
  ]

Has anyone come across this?  What can we do to tweak the services to prevent this error from happening?

Alternatively, if I knew what the limit was in relation to some math - ie.. no more than N pixels - I could trap it. 

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Hi Liz,

I would imagine that limit comes from the pixel size parameters set on the image service/mosaic dataset. 

Please see the following technical article for an idea of how to edit these values: https://support.esri.com/en/Technical-Article/000022288

-Calvin

View solution in original post

0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi Liz,

I would imagine that limit comes from the pixel size parameters set on the image service/mosaic dataset. 

Please see the following technical article for an idea of how to edit these values: https://support.esri.com/en/Technical-Article/000022288

-Calvin

0 Kudos
LizEidsness
New Contributor III

Oh that's great thank you!  Sometimes you just need to know what to search for.  It seems like that would have been an obvious result of my searching, but it wasn't.  

 

0 Kudos