Skip to main content

Bad Zip files in arn:aws:s3:::sentinel-s2-l1c-zips?

  • April 26, 2024
  • 3 replies
  • 316 views

Have been downloading a few l1c tiles from the zip bucket for a while. This morning I started getting “zipfile.BadZipFile: File is not a zip file” errors. Here’s an example:

aws s3 cp s3://sentinel-s2-l1c-zips/S2A_MSIL1C_20191210T033131_N0208_R018_T47NND_20191210T065939.zip . --request-payer

unzip ./S2A_MSIL1C_20191210T033131_N0208_R018_T47NND_20191210T065939.zip
Archive: ./S2A_MSIL1C_20191210T033131_N0208_R018_T47NND_20191210T065939.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of ./S2A_MSIL1C_20191210T033131_N0208_R018_T47NND_20191210T065939.zip or
./S2A_MSIL1C_20191210T033131_N0208_R018_T47NND_20191210T065939.zip.zip, and cannot find ./S2A_MSIL1C_20191210T033131_N0208_R018_T47NND_20191210T065939.zip.ZIP, period.

Am looking at my script but would be useful to know if something has changed on the sentinel hub end.

3 replies

The issue is now resolved.

New products should be working.
All affected products are removed and will be re-ingested in coming hours.


Thank you for the report.

We are currently investigating this issue


Perfect. Thanks for the prompt response. Looking good now.