FUNCTION_INVOCATION_FAILED error occurs when a function invocation fails. This could be due to an error within the function itself, or an issue with the environment in which the function is running.
Internal Server Error
To troubleshoot this error, follow these steps:
- Check application logs: Review the application logs to identify any specific errors related to the function invocation. They can be found at the host URL under the
- Review function code: Ensure that the code for the function is correct and does not contain any errors or infinite loops. Use a
try/catchblock to catch any errors that might be occurring within the function code
- Check for unhandled exceptions: Look for any unhandled exceptions within the function code that might be causing the invocation to fail
- Verify function configuration: Double-check the function configuration to ensure that it's set up correctly, including any environment variables or other settings