Logic App-Internal Server Error
I want to clean up email in certain template. I am using Azure open AI model. In logic app the email gets fetched from a mailbox and then pass it on the azure open AI chat completion model that I have. I have created a certain prompt that I have deployed into an web app before it cleans email perfectly when I copy and paste the content of the email. But now that I am putting the prompt an into logic app and trying to clean up the body of the email it keeps throwing internal server error. I have also tried putting an Html to text email to clean any unnecessary character but still it keeps on throwing "internal server error 500"
Any suggestion would be greatly appreciated.