https://discord.umbraco.com logo
Release 6.3.0 路 patrickdemooij9/SeoToolk...
# news
p
New release for SeoToolkit (v6.3.0)! Introducing Umbraco.AI support (totally just in time for the deadline), better headless options and some additional site audit checks. Check it out on github: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/releases/tag/6.3.0
And tagging @Florent Grandjean as you asked about it last time 馃槈
f
Hi @Patrick de Mooij when I'm using SEO Toolkit in a headless setup or using the delivery API the fields are not included in the content not even as a json. Is there a way to get the values via API ?
p
Have you enabled it in your app settings? I wrote some documentation here: https://seotoolkit.gitbook.io/useotoolkit/extensions/headless-setup
It's not enabled by default
f
Awesome, that's what I was looking for
After enabling it, it's working fine using delivery API on some pages then on our blog we use different a composition and we had always an error only on those pages:
An unhandled exception has occurred while executing the request. System.NullReferenceException: Object reference not set to an instance of an object. at SeoToolkit.Umbraco.MetaFields.Core.Common.Api.MetaFieldsApiHandler.GetData(IPublishedContent content) at SeoToolkit.Umbraco.Common.Core.DeliveryApi.SeoToolkitResponseBuilder.Create(IPublishedContent content, String name, IApiContentRoute route, IDictionary`2 properties) at Umbraco.Cms.Core.DeliveryApi.ApiContentBuilderBase`1.Build(IPublishedContent content) at Umbraco.Cms.Api.Delivery.Controllers.Content.ByRouteContentApiController.HandleRequest(String path) at Umbraco.Cms.Api.Delivery.Controllers.Content.ByRouteContentApiController.ByRouteV20(String path) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
p
Hmm weird, I'll take a look for you to see what is going on
13 Views