Amazon API gateway timeout

Игорь Кирей picture Игорь Кирей · Aug 12, 2015 · Viewed 51.2k times · Source

I have some issue with API gateway. I made a few API methods, sometimes they work longer than 10 seconds and Amazon returns 504 error. Here is screenshot below:

enter image description here

Please help! How can I increase timeout?

Thanks!

Answer

Ran picture Ran · Nov 13, 2016

Right now the default limit for Lambda invocation or HTTP integration is 30s according to http://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html and this limit is not configurable.