at Umbraco.Web.WebApi.NamespaceHttpControllerSelector.SelectController(HttpRequestMessage request) at System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsyncInternal(HttpRequestMessage request, CancellationToken cancellationToken) at System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Internal Server Error when calling Web API Controller
I have created a controller that Umbraco.Web.WebApi.UmbracoApiController.
I have created a class to inherit ApplicationEventHandler and override ApplicationStarting to add my API route:
Yet, when my script does a GET for this API, I get a 500 error response. If I open the URL in Google Chrome, I get the following:
Any ideas on what is going wrong?
Thanks,
John
Hi John,
You might be running into this issue that has just be raised, http://issues.umbraco.org/issue/U4-5384
Hopefully the work around works for you.
Paul
is working on a reply...