4

I am developing logic app in azure portal with azure function app.Logic app gives randomly code query parameter invalid error for function . When ever error occurred i have to clone the logic app is there any permanent solution for this error.

Regards

Humna Zaidi
  • 49
  • 1
  • 5

3 Answers3

3

I ran into this with a generic web hook function. The workaround I found was:

  1. Go to the Function app page in the Azure portal
  2. Select your app - You should see the menu with options "Develop", "Integrate", "Manage" and "Monitor"
  3. Select "Manage"
  4. 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.

Eric Choi
  • 31
  • 2
  • It does not help if you are using it in a logic app because you do not set function url but you refer to it by subscription/resourcegroup and so on – ing.alfano May 23 '17 at 16:28
2

Goto yourfunction->manage->functionkey->default -click on the copy link under actions

Just appending code

https://{functionappName}.azurewebsites.net/api/{functionName}?code={defaultfunctionkey}

Amit Kumar
  • 79
  • 1
  • 10
1

Hi this workaround worked for me

Hope it helps

ing.alfano
  • 406
  • 1
  • 9
  • 18