Closed joao-d-oliveira closed 11 months ago
Hi Joao, just to make sure:
serverless-pdf-chat-github-token
hi @pbv0 thanks for replying!
By did you create your own GitHub fine-grained access token?
if you mean connect Amplify with my GitHub repo and provided access then yes I have done so. If you mean something else, than that might be the missing piece.
All the other steps I have done. It does find the secret (I had initially named something else and got a different error).
I realised that I hadn't created a Fine-grained personal access tokens, only connected AWS to GH repo.
So now I tried to:
serverless-pdf-chat-github-token
and in the "plain_text" tab, I remove the JSON format ({"":""}
) and just paste normal text: github_pat_11xxxxxxxxxxxxxL3
Still I get the same error:
CREATE_FAILED AWS::Amplify::App AmplifyApp Resource handler returned message:
"Invalid request provided: Repository
provider not supported. (Service:
Amplify, Status Code: 400, Request ID:
xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx)"
(RequestToken:
xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx,
HandlerErrorCode: InvalidRequest)
UPDATE_ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack serverless-bedrock-goatai-chat The following resource(s) failed to
create: [AmplifyApp].
The error message points to Amplify not recognizing the repository provider which should be GitHub. This could be if the URL to the repository is wrong but if you are using https://github.com/joao-d-oliveira/serverless-pdf-chat that would be correct. Are you using https in the URL?
@pbv0 thanks for your patience... I realised when you meant on the script "repository" you meant the GitHub link to the repository... I thought that I was supposed to create a amplify app already with the repository and link to the AWS amplify...
So I was providing the script with the Amplify https... instead of the GH repository, I understood now that the SAM created the app, ...
Sorry for the trouble and thanks once again!
No worries, thanks for documenting what the issue was.
Issues deploying the app in amplify. Getting errors when deploying sam with "
sam deploy --guided
". I believe the issue lies on the AWS Secrets... but not sure. If that's the case, perhaps we could specify better the instructions.Errors
Steps created
github_pat_T2wyo:rs0Pp
) (it show in plaintext:{"github_pat_T2wyo":"rs0Pp"})
github_pat_T2wyo------------------------------------------------------------------------rs0Pp
'sam deploy --guided