Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api key not found error #1686

Closed
RZ-Jyothsna opened this issue Jul 18, 2023 · 3 comments
Closed

Api key not found error #1686

RZ-Jyothsna opened this issue Jul 18, 2023 · 3 comments
Assignees
Labels
api-graphql duplicate This issue or pull request already exists question Further information is requested transferred

Comments

@RZ-Jyothsna
Copy link

RZ-Jyothsna commented Jul 18, 2023

Amplify CLI Version

12.1.1

Question

I have changed the graphql schema and trying to push changes.

errror shown is:
Resource is not in the state stackUpdateComplete
Name: GraphQLAPIDefaultApiKey....... (AWS::AppSync::ApiKey), Event Type: update, Reason: API key not found: ....... (Service: AWSAppSync; Status Code: 404; Error Code: NotFoundException; Request ID: a3c84959-6c73-42aa-a290-b119ae17f2b9; Proxy: null), IsCustomResource: false

I updated api and set expiry date as 325
I added "APIKeyExpirationEpoch" as -1 in parameters.json

Both the above two approaches did no work.

What might be the reason for this. How to fix this.

@RZ-Jyothsna RZ-Jyothsna added pending-triage question Further information is requested labels Jul 18, 2023
@ykethan
Copy link
Member

ykethan commented Jul 18, 2023

Hey @RZ-Jyothsna, 👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂

@ykethan ykethan transferred this issue from aws-amplify/amplify-cli Jul 18, 2023
@AnilMaktala
Copy link
Member

Hey @RZ-Jyothsna, Thank you for bringing this to our attention. We kindly request you to try the suggested workaround mentioned here and inform us if it resolves the issue you are facing.

@AnilMaktala
Copy link
Member

This is a duplicate of #636

@AnilMaktala AnilMaktala added the duplicate This issue or pull request already exists label Jul 18, 2023
@AnilMaktala AnilMaktala self-assigned this Jul 18, 2023
@AnilMaktala AnilMaktala closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-graphql duplicate This issue or pull request already exists question Further information is requested transferred
Projects
None yet
Development

No branches or pull requests

3 participants