Skip to main content

Hi,

it has been a couple of weeks I have been trying to downloand Sentinel 5P and Sentinel 3 LSTR data via the python script I have always used but when I run

search_iterator = sh_catalog.search(
DataCollection.SENTINEL5P,
bbox=city_bbox,
time=(args.FROM, args.TO),
fields={"include": ["id", "properties.datetime", "properties.eo:cloud_cover"], "exclude": []},
)
unique_timestamps = sh.filter_times(search_iterator.get_timestamps(), time_difference=tile_delta)

I get
 

Traceback (most recent call last):
File "tools/download_sentinel5p.py", line 90, in <module>
unique_timestamps = sh.filter_times(search_iterator.get_timestamps(), time_difference=tile_delta)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/api/catalog.py", line 253, in get_timestamps
return parse_time(featuree"properties"]]"datetime"], force_datetime=True) for feature in self]
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/api/catalog.py", line 253, in <listcomp>
return parse_time(featuree"properties"]]"datetime"], force_datetime=True) for feature in self]
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/base.py", line 274, in __next__
new_features = self._fetch_features()
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/api/catalog.py", line 240, in _fetch_features
results = self.client.get_json_dict(self.url, post_values=payload, use_session=True)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/client.py", line 265, in get_json_dict
response = self.get_json(url, *args, **kwargs)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/client.py", line 255, in get_json
return self._single_download_decoded(request)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/client.py", line 134, in _single_download_decoded
return None if response is None else response.decode()
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/download/models.py", line 246, in decode
return decode_data(self.content, data_type=self.response_type)
File "/nfs/home/blanco/up2030/eo-air-quality/.venv/lib/python3.8/site-packages/sentinelhub/decoding.py", line 34, in decode_data
return json.loads(response_text)
File "/nfs/home/blanco/.pyenv/versions/3.8.16/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/nfs/home/blanco/.pyenv/versions/3.8.16/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/nfs/home/blanco/.pyenv/versions/3.8.16/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I also noticed these two collections are not listed on the EO browser anymore. 

Is there a temporary problem or the collections have been moved somewhere else so I need to update my download script ? 

Hi ​@micTorino,

The issue you’re encountering is due to a recent change: as of March 31, 2025, Sentinel-3 and Sentinel-5P data are no longer accessible via Sentinel Hub services.

To continue accessing Sentinel-3 and Sentinel-5P data, you’ll need to utilize the Copernicus Data Space Ecosystem (CDSE), and updating your scripts to use the new service URLs and data collections.

For more details, please check our knowledge base article: Can I access Sentinel-3, Sentinel-5P and Copernicus Land Monitoring Services in Sentinel Hub?


Reply