Skip to content

Compatibility with v4? #10

@josbol

Description

@josbol

Hi!

We have been using your attribute on azure functions v3 without issue but when testing on an azure functions project v4 (.NET 6), we immediatly get an 401 error and the following error in the console:

[2022-11-04T18:51:15.280Z] Executed 'Registrar_Lead' (Failed, Id=69f566b5-f755-45c7-92cf-c951c3974f26, Duration=668ms)
[2022-11-04T18:51:15.281Z] System.Private.CoreLib: Exception while executing function: Registrar_Lead. Microsoft.AspNetCore.Server.Kestrel.Core: StatusCode cannot be set because the response has already started.

Any idea what this might cause?

Kinds regards!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions