Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

404 on Episerver Content Delivery Api

$
0
0
Hi

I'm trying to use the content delivery api.

I have installed the packages, and when I query mysite/api/episerver/v2.0/site i get an answer.

However when I query mysite/api/episerver/v2.0/content/65050 I get the error message listed below. I have given the group "contentapiread" read access to that particular page.

Is it anything else I need to do to get this working?

Content was not found EPiServer.Core.ContentNotFoundException: Content was not found ved EPiServer.ContentApi.Cms.Controllers.ContentApiController.ResultFromContent(IContent content, String expand) ved EPiServer.ContentApi.Cms.Controllers.ContentApiController.Get(String contentReference, List`1 languages, String expand)

Exception

EPiServer.Core.ContentNotFoundException: Content was not found
   ved EPiServer.ContentApi.Cms.Controllers.ContentApiController.ResultFromContent(IContent content, String expand)
   ved EPiServer.ContentApi.Cms.Controllers.ContentApiController.Get(String contentReference, List`1 languages, String expand)

Viewing all articles
Browse latest Browse all 6894

Trending Articles