Try our conversational search powered by Generative AI!

Required Role not handled well when getting content

Found in

EPiServer.ContentDeliveryApi 1.0.1

Fixed in

EPiServer.ContentDeliveryApi 2.1.0

(Or a related package)

Created

May 21, 2018

Updated

Oct 30, 2018

State

Closed, Fixed and tested


Description

When setting the role that must be assigned to content in order for it to be returned in API calls, it must be assigned to only the "Read" privilege.

For example, the default required role is "Content Api Access." Content needs to have the "Read" privilege of that role. If you add other privileges (e.g., Create or Publish), calling the API to get data from that content returns 404 not found error.