I ran into this with a generic web hook function. The workaround I found was:
- Go to the Function app page in the Azure portal
- Select your app - You should see the menu with options "Develop", "Integrate", "Manage" and "Monitor"
- Select "Manage"
- There are two groups of keys - Function keys and Admin keys. The default Admin key was being used, so I changed the "code" parameter in my query to use the default Function key.
If that still doesn't work, you might want to try renewing the keys or adding a new one.