Skip to content
Discussion options

You must be logged in to vote

Hi @ZakiShaikhOpen,

Thank you for the code. After investigating , the issue seems to be related to S3 bucket naming conventions in this line:

bucketName = "development-invofy-bucket/" + bucketName;

Potential Issues:

  1. Forward slash character: S3 bucket names cannot contain forward slashes (/)
  2. Bucket name length: The total bucket name length could not exceed the 63-character limit

Recommended Solutions:

  • Replace the forward slash with a hyphen: "development-invofy-bucket-" + bucketName
  • Ensure the final bucket name is under 63 characters by reducing the prefix length if needed

These naming violations causes AWS to reject the bucket creation request during signature validation, resulting in…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sankettangade
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sankettangade
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. module/sdk-custom
3 participants