• Not Answered

Anyone else always getting 400 API key is not valid error on Sitecore 9.1?

I am trying to access the item service locally through Postman but I am always getting "400 API key is not valid" error on Sitecore 9.1?

Followed doc.sitecore.com/.../api-keys-for-the-odata-item-service.html and in Sitecore.Services.Client.config, following configs are used to enable to enable anonymous access

<setting name="Sitecore.Services.AllowAnonymousUser" value="true" />

<setting name="Sitecore.Services.AnonymousUser" value="sitecore\ServicesAPI" />

<setting name="Sitecore.Services.SecurityPolicy" value="Sitecore.Services.Infrastructure.Web.Http.Security.ServicesLocalOnlyPolicy, Sitecore.Services.Infrastructure" />

3 Replies