Azure function gives “The 'code' query parameter provided in the HTTP request did not match the expected value.”

后端 未结 3 1726
借酒劲吻你
借酒劲吻你 2021-01-20 16:24

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

3条回答
  •  旧巷少年郎
    2021-01-20 16:43

    Hi this workaround worked for me

    • in your logic app replace the AzureFunctionCall activity with the HTTP activity
    • method POST
    • url: https://FUNCTION_CONTAINER.azurewebsites.net/api/FUNCTION_NAME?code=DEFAULT_FUNCTION_KEY
    • same body
    • content-type application/json

    Hope it helps

提交回复
热议问题