Currently working with Planetscope data, the ingestion is working very well using the productBundle ‘analytic’ (top of atmosphere).
However, I wish I could download the surface reflectance product and when I order the query using the product bundle “analytic_sr” or “analytic_sr_udm2”, I get the following error message “requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://services.sentinel-hub.com/api/v1/dataimport/orders”.
Should we change the url if we are using surface reflectance products?
Hi @desloires.johann,
might it be that you are trying to import analytic_sr data in the same collection, where you previously have “analytic”? This will not work as it would cause inconsistency.
If you, however, change the collection (or create a new one), there should be no problems.
If this is not helping your issue, I would kindly ask for more detailed description of your process flow, so that we can repeat it.
if I run this request myself, I get a descriptive error:
{
"error": {
"status": 400,
"reason": "Bad Request",
"message": "Field harmonizeTo must be set to NONE for productBundle ANALYTIC_SR_UDM2",
"code": "COMMON_BAD_PAYLOAD"
}
}
404 error is typically when you are hitting an end-point that does not exist.
I did not get this error when I submitted the order above, so can you be more specific in what you are trying to do?
Make sure to use POST request type (rather than GET or similar).
This should for sure work. It is being used by many users daily and they have no problem.
Subscriptions are indeed another way to order PlanetScope data, hopefully very useful one.
I don’t think there should be itemIds in the subscription request. Where did you find such example?
Finally, I found what happened … We must specify as well the productBundle in the search query, which is by default set to “analytic”…
Therefore, I was specifying “analytic_sr_udm2” in the order query while the search one had its default value.