Unable to access Azure Function from Azure Static Web App after linking
Hi, I was attempting to connect my Azure function to my Azure static web app by following this guide: https://learn.microsoft.com/en-us/azure/static-web-apps/functions-bring-your-own
I believe I followed all steps correctly, however, I am getting a 400 error whenever I try to query the function from my static web app!
Here are some more pictures that should confirm that I did everything correctly:
Linkage:
API Location set to "":
The authentication page for the function updated automatically after I linked to the function from the static app:
The function cors page allows for the static web app to access:
Why am I getting a 400 error? Also, I think it's important to note that if I remove the linkage the static web app is able to access the azure function.
Thanks!
Matt