Skip to main content

Hi there, I’m writing out some api functions and I’m getting an error.


“message”: "Request payload invalid: Invalid collection type, no suitable implementation of AbstractCollection class found


The sent request var is the following:


{

“input”: {

“bounds”: {

“bbox”: >

35.488045961387265,140.02190061552412,

35.48169391310503,140.01409969274678

]

},

“data”: b

{

“type”: “9dc33ab4-8797-4b40-xxxxxXXXXXXXXXXX”,

“dataFilter”: {

“timeRange”: {

“from”: “2022-01-01T00:00:00Z”,

“to”: “2022-01-02T23:59:59Z”

}

}

}

]

},

“output”: {

“width”: 512,

“height”: 512

}

}

Hi @tom.roberts,

I think you are using the non-existing “collection ID”.

What you have in “type”, is “Instance ID” (from Configuration Utility).

Collections can be found here


Investigating this a bit further, I am not sure what you would like to do:


  • the PlanetScope collections (I am guessing this is what you are trying to do) are empty for the moment, so even when you make request work, it will not return anything; we recommend you first configure one active PlanetScope subscription, so that you will have the data within.

  • there is the “evalscript” missing in the request.

  • the specific “Configuration” is not configured appropriately, as the BYOC collections are not set; note that the PlanetScope configurations have already been set, so you can simply use those

I would kindly suggest to check this example on how to fetch data from PlanetScope collection (once the data are actually there)

b1b884e9c2cdc4d3e9294f8a7ec6b77681cd5b49.pngdocs.sentinel-hub.com
57b10d77cdf19cda03dbe73c52e6d5854ef7620d.png


Examples for PlanetScope



Use these CURL and Postman examples to access PlanetScope data with Sentinel Hub Processing API.








Reply