Hi!
I have implemented Umbraco Engage for our customer. The A/B-tests work as it should. This is in a Headless solution.
I have added Page Events, which also works. But now Im adding functionality to fetch segmentation assets, and here it stops.
I have tried using both “/umbraco/engage/api/v1/segmentation/assets/item/{path}” and “/umbraco/engage/api/v1/segmentation/assets/item/{id}” (as the “id” parameter I use the content id, is that correct?) .
I’ve tried with adding, not only External-Visitor-Id, but also our Api-Key and Accept-Language headers.
If I do not include Accept-Language header, I get a Error 500. In the logs I can see the error message “The path in ‘value’ must start with ‘/’. (Parameter ‘value’)”. If I add the Accept-Language header, I get an Error 404. The page that should be fetched use the culture “no”. I have tried with accept language “no”, “nb-NO” and “no-NO” but I get the same error.
When I check what I get from the Content Delivery API when I fetch the page, the culture part looks like this:
cultures: {
no: {
path: ‘/no/kontakt-oss/’,
queryString: null,
startItem: [Object]
}
}.
In the log, I can also see that at the start of each request, I get this:
“Identity.Application was not authenticated. Failure message: Unprotect ticket failed”.
I get that in both cases of errors (404 and 500).
Example from the log:
2025-11-28 09:15:13.090 +01:00 [INF] Request starting HTTP/2 GET https://localhost:44391/umbraco/engage/api/v1/segmentation/assets/item/efb54a32-be78-4f89-93c9-9c97bcb7dd5d - null null
2025-11-28 09:15:13.099 +01:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed
We are using Umbraco 13.11.0 and Umbraco.Engage and Umbraco.Engage.Headless 13.7.1.
What is the problem? Is there a bug in the function or am I calling the endpoint wrong?
Best Regards
Niklas