Copied to clipboard

Flag this post as spam?

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

  • Alex Jacobs 1 post 71 karma points
    Jun 13, 2018 @ 10:50
    Alex Jacobs

    Umbraco headless BadRequest on HeadlessService.GetChildren

    Hi everyone, I'm trying to set up the headless Umbraco on an project. Everything works fine but when I try to call HeadlessService.GetChildren() to setup dynamic navigation as mentioned in the docs, I get the following error message:

    InvalidOperationException: Request was not successful, status BadRequest, url https://WEBSITEADDRESS/umbraco/rest/v1/content/published/f1f0c803-7f8c-46ab-b399-1568f6412010/children?page=0&query=&, result {"Message":"The request is invalid."}

    I'm not sure who to fix this issue and would appreciate if anyone who has passed this stage helps me out.


  • Jeroen Vantroyen 6 posts 86 karma points
    7 days ago
    Jeroen Vantroyen

    If you loose the trailing ampersand at the end of your querystring, the request becomes valid.

Please Sign in or register to post replies

Write your reply to: