Examples of Third Party Data Import not working


I’m trying to run the examples of third party data import tutorial: https://docs.sentinel-hub.com/api/latest/api/data-import/examples/#simple-search. I want to make a simple search, so I can create my own collection which I can process according to the sentinel process api. However, This simple search returns me a 400 error:
HTTPError: 400 Client Error: Bad Request for url: https://services.sentinel-hub.com/api/v1/dataimport/search

It is however, exactly the example. Is there something wrong in the example or am I doing something wrong? The native search example is returning data.

Hopefully someone can help me.



Your link takes me to a different forum post. Did you mean to link to this URL?

If that is the case, the examples must use the same parameters as they are written to run catalog searches on the Third Party Data providers Planet, Airbus and Maxar. For example, if you change the AOI or time range they won’t work.

If so can you provide the code that you are using to make your search?

I put the wrong url in, but yes that’s the right page.
The code that I used to make my search was the exact code as given in de example copied into my python ide and autorized with my own credentials…


We investigated a little further and found there was an error in the examples - when searching for "itemType" : "PSScene", the parameter productBundle is obligatory. The example has now been updated so should work correctly now.

So, thank you for bringing this to our attention.

Also, my suggestion above to use the exact same parameters is incorrect: paying users can use the third-party data search without limitations. Trial users, on the other hand, cannot use the search at all.

Thanks again for highlighting the mistake in the documentation.

Hi William,

Thank you very much. Good to know that the productBundle is obligatory.

The example is now working