Process API Renderer Excepetion


In some cases I receiving the following error at Process API:

{"error":{"status":400,"reason":"Bad Request","message":"Failed to evaluate script!\nevalscript.js:16: TypeError: Cannot read property 'B04' of undefined\n\t\t\t\t\treturn [ 2.5*samples[0].B04, 2.5*samples[0].B03, 2.5*samples[0].B02 ]\n ^\nTypeError: Cannot read property 'B04' of undefined\n at evaluatePixel (evalscript.js:16:29)\n at executeForMultipleScenes (:1153:14)\n","code":"RENDERER_EXCEPTION"}}

Is it something with my code or some API or image error?
it’s a little strange because in countless other polygons it works normally.


Hi @marcos ,

The error message basically indicates that samples[0] is undefined, which means there is no data in your samples object. This could happen if there is no data in your AOI during the time interval you set.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.