Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Return null ([]) when getting children of non-existent content

Found in

EPiServer.ContentDeliveryApi 1.0.1

Fixed in

EPiServer.ContentDeliveryApi 2.1.0

(Or a related package)

Created

Sep 24, 2018

Updated

Oct 30, 2018

State

Closed, Fixed and tested


Description

Precondition
There is no content with ID = 1000

Steps to reproduce

  1. Get children of that content.

(EPCMSHost/api/episerver/v1.0/content/1000/children)

Expected:
Returns 404 not found.

Actual:
Returns 200k and null ([])