EDGE_FUNCTION_INVOCATION_FAILED

The EDGE_FUNCTION_INVOCATION_FAILED error occurs when there is an issue with the Edge Function being invoked on the CDN. This error can be caused by a variety of issues, including unhandled exceptions, timeouts, or malformed requests.

500

EDGE_FUNCTION_INVOCATION_FAILED

Internal Server Error

To troubleshoot this error, follow these steps:

  1. Check application logs: Review the application logs to identify any specific errors related to the Edge Function being invoked. They can be found at the host URL under the /_logs path
  2. Review deployment configuration: Double-check the deployment configuration to ensure that the Edge Function is being deployed correctly
  3. Investigate build errors: If the error occurs during the build process, troubleshoot any build errors that might be preventing the necessary resources from being deployed.
  4. Check function code: Ensure that the code for the Edge Function is correct and does not contain any errors or infinite loops
  5. Use Vercel's status page: If you have tried the steps above and are still experiencing the error, check Vercel's status page for any reported outages in the CDN, which can sometimes cause this error