-
Notifications
You must be signed in to change notification settings - Fork 79
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
amplify push failed with Too Many Requests error #3159
Comments
After several attempts, I was able to apply the change |
Hey, thanks for raising this! I'm going to transfer this over to our API repository for better assistance. |
There are two control-plane APIs ( The resolvers and functions are spread across multiple child stacks and each of these child stacks have dependencies on the underlying datasource (DynamoDb tables in this case). So they naturally provide a gate to limit the number of simultaneous API calls. We will continue to monitor and determine if any adjustments are required to the limits. Please feel free to reopen the issue if you encounter the issue again. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
The issue has been reopened as it is still unresolved. |
@kouz75 How often does this issue occur/not occur? How many tables does your schema have? Is it possible to share your schema? It could be helpful for reproducing this issue. |
Hi, Today, I was able to push the schema once, but it failed many times... The schema contains 37 tables. |
As a temporary solution, I removed subscriptions on most tables (added subscriptions: null on each table). |
@kouz75, Glad to hear that disabling subscriptions resolved the issue. We are actively investigating the problem on our end and will keep you updated once we have more information. |
@kouz75 As mentioned earlier, AppSync throttling limits are account-specific, which can sometimes impact deployment performance. If multiple developers are working in the same AWS account and running concurrent sandbox or branch deployments, this might contribute to throttling issues. To help optimize your deployment experience, we recommend:
These strategies can: |
Related Note: If you are using Gen2 sandboxes, we have observed an issue with AppSync functions hotswap that is making redundant API calls. We have a PR open with CDK team to fix it. |
Hi, I understand all the limitations, but we have one project with a single GraphQL schema, and we are already running only one deployment at a time. We don't use Gen2 sandboxes. We can remove all unnecessary operations (subscriptions), but removing queries/mutations doesn’t make sense. I believe the amplify push command should handle the throttling issue. |
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v20.12.2
Amplify CLI Version
12.14.3
What operating system are you using?
mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Describe the bug
Hi,
We are not able to deploy our project anymore.
We have update our GraphQL schema (add some tables).
During "amplify push" CloudFormation failed to update the stack with following error:
Too Many Requests (Service: AppSync, Status Code: 429, Request ID: ff83079c-06e2-4015-9beb-39641616f185)" (RequestToken: 50759b9e-1c38-ad42-8951-b7f1c3e02962, HandlerErrorCode: GeneralServiceException)
Is there a way to reduce the number of requests send to AppSync during Stack update ?
thanks for your help
Expected behavior
Reproduction steps
Project Identifier
Project Identifier: ed57bb8a46476511162afa8497d78147
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: