I am doing on POC for getting records from On-Premise SQL By using Logic Apps + API Apps.
I have created SQL Connector in API Apps and also created Logic Apps. But when
Related issue.
I was accessing Function app, via Logic app, when I got the above error.
Following worked for me:
Function app > Platform features tab > API > CORS > Allowed Origins > (remove all, Save)
Function app > Platform features tab > API > CORS > Allowed Origins > * > Save (that is add * and save)
Function app > Overview tab > Restart
Now the Logic app worked fine.
Hope that helps.