A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Hi, all!
I'm installing EPiServer.ServiceApi via Nuget, as it is described in the guide, but right after that I get the following error instead of my start page:
I've tried this solution, but config.EnableCors() doesn't exist, config.MapHttpAttributeRoutes() causes error "ArgumentException: A route named 'MS_attributerouteWebApi' is already in the route collection", and all the rest doesn't help. I tried adding "GlobalConfiguration.Configuration.EnsureInitialized();" at the end of initialization, it doesn't help either.
What can be the problem? What causes this error?