Last updated on December 20, 2022
1 min read
The maximum duration for an Edge Function execution is 30 seconds, otherwise the request will time out. This is an application error.
504: Gateway Timeout
Code:
Code:
EDGE_FUNCTION_INVOCATION_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:logs-urlhttps://my-deployment-my-username.vercel.app/_logs