Umbraco headless BadRequest on HeadlessService.GetChildren
Hi everyone,
I'm trying to set up the headless Umbraco on an asp.net 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.
Umbraco headless BadRequest on HeadlessService.GetChildren
Hi everyone, I'm trying to set up the headless Umbraco on an asp.net 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.
Thanks.
If you loose the trailing ampersand at the end of your querystring, the request becomes valid.
is working on a reply...