@Pankaj Singh In the attached screenshot, I don't see any internal error.
There could be multiple reasons for the internal error. The major reason would be some configuration that you have created in your local.setting.json that might not be created under the application setting in azure function.
I will also suggest you to review Azure Functions diagnostics to find the root cause of the 500 error. Alternative you can also review your application insights logs for your function to know more about the full exception trace/error message that is causing 500 errors.