HTTP error 500 "Invalid response code from the index service: 400" for S1 data (same code worked fine last week)

Hello!

I’m using the following Python code in order to retrieve S1 true color data:

request_s1 = sentinelhub.WcsRequest(
	data_folder='data',
	config=config,
	time_difference=datetime.timedelta(hours=2),
	image_format=sentinelhub.MimeType.TIFF_d32f,
	data_source=sentinelhub.DataSource.SENTINEL1_IW,
	layer='TRUE-COLOR-S1-IW',
	time=(clouds_date - datetime.timedelta(days=90), clouds_date),
	resx=f'{resolution}m',
	resy=f'{resolution}m',
	bbox=bbox,
)

I’m getting the following error:

500 Server Error: Internal Server Error for url: https://services.sentinel-hub.com/ogc/wfs/xxx?SERVICE=wfs&WARNINGS=False&REQUEST=GetFeature&TYPENAMES=DSS3&BBOX=-38.0%2C-63.0%2C-37.8%2C-62.8&OUTPUTFORMAT=application%2Fjson&SRSNAME=EPSG%3A4326&TIME=2019-09-29T14%3A13%3A01%2F2019-12-28T14%3A13%3A01&MAXCC=100.0&MAXFEATURES=100&FEATURE_OFFSET=0
Server response: "Invalid response code from the index service: 400"

I’m using almost the same code in order to retrieve S2 data and it’s working fine. In addition, the same code used to work fine last week for these coordinates and dates. The layer configuration was not modified in any way (it’s the default layer that comes with the Python Scripts configuration set).

Am I doing something wrong? Is it a server-side problem?

Thank you very much for your help!

The problem fixed itself about 6 hours later, so I guess it was just a server-side hiccup. Please feel free to close/delete this thread!

1 Like