question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

I 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
aijunpengcommented, Oct 1, 2019

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.

2reactions
bradleyayerscommented, Aug 12, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found