DownloadFailedException: Failed to download from

I am trying to download sentinel 2 data based on a list of ID’s, but I keep getting a DownloadFailedException. Below is my code (which is basically what is explained in the example notebook Accessing satellite data from AWS with Python), where titles is a list of around 240 ID’s (ex. S2A_MSIL1C_20160610T210932_N0202_R057_T04QGJ_20160610T210934), and with a for loop I am trying to download S2 products for each of these ID’s.

I am not sure I understand the problem completely: Is it that the sentinel 2 product is not available anymore ?
Can someone help me understand how I can ‘skip’ the problematic ID’s in the for loop ?

from sentinelhub import SHConfig

config = SHConfig()

config.aws_access_key_id = ‘’
config.aws_secret_access_key = ‘’

data_folder = ‘./AwsData’
for l in titles:
product_id = l
request = AwsProductRequest(product_id=product_id, data_folder=data_folder)
request.save_data() # This is where the download is triggered

DownloadFailedException: Failed to download from:
with HTTPError:
404 Client Error: Not Found for url:
Server response: “”


This product is indeed not there. Not sure if this was theer at any point in time as we do generally not delete products. That said, it was 5 years ago, so it might be there was a reason to remove it.