git clone ASW codecommit

0

Im following https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-1/ facing issue on "Create a Git repository" on point "G". getting below error

"git clone https://git-codecomxxxx.us-east-1.amazonaws.com/v1/repos/wildrydes-site Cloning into 'wildrydes-site_new'... fatal: unable to access 'https://git-codecomxxxx.us-east-1.amazonaws.com/v1/repos/wildrydes-site/': The requested URL returned error: 403"

질문됨 일 년 전13388회 조회
3개 답변
0

The error message "fatal: unable to access 'https://git-codecomxxxx.us-east-1.amazonaws.com/v1/repos/wildrydes-site/': The requested URL returned error: 403" suggests that there is a problem with the authentication or authorization of your Git repository.

The 403 error code is an HTTP status code indicating that the client does not have permission to access the requested resource. This could be because the credentials you are using to access the repository are incorrect or because you do not have the necessary permissions to access the repository.

Here are a few things you can try to resolve this issue:

Check that you have entered the correct credentials when prompted to log in to the Git repository. Verify that you have the correct permissions to access the repository. Check that the repository URL is correct and that you are using the correct endpoint. Try to access the repository using the AWS CLI instead of the git clone command to see if you get the same error message.

답변함 일 년 전
  • Added "AWSCodeCommitPowerUser" to IAM console user and used authenticate a user by "HTTPS Git credentials for AWS CodeCommit" on git command.

0

Ensure you have correctly followed the instruction outlined in Setup for HTTPS users using Git credentials. When executing git clone the first time, you should be prompted to enter the username and password that have been generated for you.

AWS
전문가
답변함 일 년 전
0

You must delete the keychain record on OSX if you recently rotated your CodeCommit credentials. Once done, it will ask for the new credentials.

답변함 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠