Chaitanya Bapat
Chaitanya Bapat

Reputation: 4029

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>

Upvotes: 3

Views: 15198

Answers (1)

Chaitanya Bapat
Chaitanya Bapat

Reputation: 4029

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 /

Upvotes: 4

Related Questions