Skip to content

Edge Function Invocation Timeout

Application Error

The maximum duration for an Edge Function execution is 5 seconds, otherwise the request will time out. This is an application error.

504: Gateway Timeout


  • A common cause for this issue is when the application contains an unhandled exception. Check the application logs, which can be found at the host URL under the /_logs path, for example: