Seeing duplicate attributes after deploying Azure functions to slot

103 views Asked by At

After I deploy my functions to a slot, I see 7 errors in the problem tab in my console.

enter image description here

Can anyone tell me why I'm seeing this? The functions are deployed and working fine!

Here is my Http trigger:

 [FunctionName("StripeConnectWebhook")]
 public async Task<IActionResult> Run(
        [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req,
        ILogger log)
1

There are 1 answers

0
Sampath On

Removing the duplicate attributes in respective local files Solves issues after deployment.

enter image description here

enter image description here

enter image description here

  • using func host start you can run the Function.

enter image description here

  • In local

enter image description here

  • In Output of Visual Studio Code. enter image description here

  • In Azure portal of HTTP Trigger in inputs body

enter image description here