Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NoSuchKey: The specified key does not exist AWS S3 Codebuild

[Container] 2020/09/03 09:27:34 Waiting for agent ping
[Container] 2020/09/03 09:27:36 Waiting for DOWNLOAD_SOURCE
NoSuchKey: The specified key does not exist.

    status code: 404, request id: , host id: = for primary source

Source provider: Amazon S3 Bucket: <bucket_name> S3 object key: <folder_name>

like image 732
Chaitanya Bapat Avatar asked Dec 05 '25 08:12

Chaitanya Bapat


1 Answers

I had to append a / at the end of the folder name. Otherwise it gave invalid key error. As a result the S3 object key or S3 folder [in my case it was S3 folder] It became <folder-name>/

Note the /

like image 78
Chaitanya Bapat Avatar answered Dec 07 '25 23:12

Chaitanya Bapat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!