Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

404 on Episerver Content Delivery Api

Vote:
 
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)
#205293
Jul 04, 2019 12:58
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.