• Not Answered

How to resolve the api key error with The OData Item Service in Sitecore 9.2

I have added an api key under /sitecore/system/Settings/Services/API Keys

and have changed the settings to below

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

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

And used the below url in postman 

<hostname>/
/sitecore/api/ssc/aggregate/content/Items('{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}')?sc_apikey=<api key>
 
 
I am getting 400 Api key is not valid response.
 
Can anyone please advise?

1 Reply