Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    Jun 27, 2024 @ 06:27
    Biagio Paruolo
    0

    Delivery Content v2 : fetch don't return the children of a node

    Hi,

    I need the children of a node. The children are published. I use this request, but

    http://gxfdfdf.dfdfererfdf.it/umbraco/delivery/api/v2/content/?fetch=children:db60f7f7-dd2b-49ce-94e0-305991735acc
    

    but the response is:

    {
        "total": 16,
        "items": []
    }
    

    Why? Thanks.

  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    Jun 28, 2024 @ 15:55
    Biagio Paruolo
    100

    I found the cause. The system give this error: JsonException: A possible object cycle was detected which is not supported. This can either be due to a cycle or if the object depth is larger than ...

    There are only some 2nd level nodes with 20 fields and a propriety of block list type. I simulate the invoice that is header and rows.

    I tried also the suggest written here https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/content-delivery-api#endpoints but don't work.

    So, I create a my api to get the children via Umbraco SDK.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies