@Ilyes Hammouda Thanks for reaching out. Can you review your application insights logs for more details on exception message? I will also suggest you to review the Diagnose and solve problems blade on your function app to get more details on the error and action plan to resolve the issue.
Let me know if you are able to find the root cause of the issue. If not, I can connect offline to review the logs to assist you further.