when i run this web api project and try to call api...i am getting the error response which is
System.InvalidOperationException: The AuthorizationPolicy named: 'UmbracoFeatureEnabled' was not found.
at Microsoft.AspNetCore.Authorization.AuthorizationPolicy.CombineAsync(IAuthorizationPolicyProvider policyProvider, IEnumerable`1 authorizeData)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
AuthorizationPolicy named: 'UmbracoFeatureEnabled' was not found
Hi Team,
I am creating Core 6 web api project for Umbraco 9.5 version. I create one api class which is
now i added some default settings in start.up class file which is
when i run this web api project and try to call api...i am getting the error response which is
Could anyone please help me on this issue.
is working on a reply...