Execution Timeout AWS AppSync API
We have an AppSync API in which one of queries is timing out after 30s. The data source is a lambda which is taking approximately 70s to complete the execution. The execution of lambda is perfectly fine but we are not able to optimize it under 30seconds. Is there a way to configure this timeout to a minute in AppSync from the backend or the amplify(angular) client from front-end ?
Appsync has a 30 second hard limit for request execution time for mutations, queries, and subscriptions. Please refer to the Appsync documentation for this limit. Unfortunately, this means that there is no configuration or setting which will allow us to exceed this limit.
If you have a query that is taking more than 30 seconds, then the workaround is to implement this in an asynchronous manner. Please refer to this blog for a strategy in Implementing a long-running query on AWS AppSync
API Gateway Timeouts from Lambdaasked 3 years ago
Connecting AppSync with Redshift via Data APIasked a year ago
How to get connection duration metric from logs for AppSync subscription?asked 16 days ago
AppSync error: Communication error while executing a request to OpenSearchasked 5 months ago
Execution Timeout AWS AppSync APIasked 2 months ago
Using Appsync with Redshift?asked 4 months ago
Strict transport security header on appsync responsesasked 2 months ago
AWS Amplify - Circular dependency in PostConfirm when access to AppSync is neededasked 2 months ago
Subscription not working with NONE data source?asked 3 years ago
Scaling websocket notificationsAccepted Answerasked 2 years ago