Error occurred while GetObject. S3 Error Code: NoSuchBucket. S3 Error Message: The specified bucket does not exist (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: d19f49eb-9da6-11e9-bfe6-2bd79cd1146a)
See original GitHub issueI am getting this issue however i tried to launch a stack with in same region. But still getting can you provide me an example how do i create bucket. This line mentioned below in readme is confusing as well
Note: You would have to create 2 buckets, one named 'my-bucket-name' and another regional bucket named 'my-bucket-name-<aws_region>'; aws_region is where you are testing the customized solution. Also, the assets in bucket should be publicly accessible.
- should i create two bucket in same region ?
- for example one bucket name is test-bucket. If region is ap-east-1 then another bucket name should be test-bucket-ap-east-1 ?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:18 (3 by maintainers)
Top Results From Across the Web
Error occurred while GetObject. S3 Error Code: NoSuchBucket ...
S3 Error Message : The specified bucket does not exist (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: ...
Read more >CloudFormation stack Error - Error occurred while GetObject ...
It appears that the object key you are providing as ImageProcessorSourceS3KeyParameter is not a valid key name, or does not exist.
Read more >Error Responses - Amazon Simple Storage Service
Error Code Description HTTP Status Code
AccessControlListNotSupported The bucket does not allow ACLs. 400 Bad Request
AccessDenied Access Denied 403 Forbidden
BucketAlreadyOwnedByYou 409 Conflict (in all...
Read more >Error occurred while GetObject. S3 Error Code: NoSuchKey ...
S3 Error Message : The specified key does not exist. Testing the code pipeline using serverless application. Once the code pipeline gets to...
Read more >Troubleshoot the 404 NoSuchKey error from Amazon S3
Amazon S3 generally returns 404 errors if the requested object is missing from the bucket. Before users make GET or HEAD requests for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, DIST_OUTPUT_BUCKET and TEMPLATE_OUTPUT_BUCKET should be the other way around. Below is the correction :
Create two s3 buckets in the same region for storing customized source code and CloudFormation template, for example “my-test-bucket”(for storing CloudFormation template ) and “my-test-bucket-us-east-1” (for storing customized source code). You will also need to export these two buckets as environment variables, for example export DIST_OUTPUT_BUCKET=my-test-bucket-us-east-1 and export TEMPLATE_OUTPUT_BUCKET= my-test-bucket. Then the value of the environment variables (bucket names) will be used to replace the variables in CloudFormation template in the steps later on and code will be copied to these two s3 buckets via s3 cp commands. Please follow the steps in README- Building distributable for customization to build and configure the solutions.
My issue ended up being that I didn’t read the README properly and misunderstood how the bucket names work, and in particular that the bucket name is really just the prefix, and the region is appended as a suffix.