I have everything(CM,CD, Fredhopper) installed on a single system for a java based environment. I have done all the configuration. While creating the new promotion through Targeting Tab I am getting error message showing

    An error occurred while processing this request.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
<message xml:lang="en-US">The appropriate post claim has not been set.</message> </error>

Detailed error message is:

at Tridion.Web.UI.Models.SmartTarget.Services.SavePromotion(String publicationTargetId, String promotionXml)
   at SyncInvokeSavePromotion(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at Tridion.Web.UI.Core.Extensibility.DataExtenderOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Can anyone suggest the possible root cause of the error. Thanks in advance..

  • Does the OData webservice between the CM and Fredhopper work at all? Can you access that URL in the browser? Does it show you the metadata of the service? Commented Apr 1, 2015 at 19:44
  • Hi Albert, Yes it is working fine. I can also access all trigger types by accessing url localhost:8081/cd_webservice/odata.svc/TriggerTypes. When I publish a component separately with Add to smart target tbb attached in compound template it is also working fine. My fredhopper service is also working fine. Commented Apr 2, 2015 at 4:40
  • In CD_Core log of Odata webservice it is showing warning "AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised". This is the only log file where I can see something unusual. Can anyone suggest if this may be the reason of issue I am facing. Also can you suggest what configuration I am missing.. Commented Apr 2, 2015 at 6:41
  • 1
    The error suggest that the OData service (SmartTarget Web service) between the CM and Fredhopper isn't configured correctly. Doublecheck it by following these steps (again): docs.sdl.com/LiveContent/content/en-US/… Commented Apr 2, 2015 at 9:31

1 Answer 1


"The appropriate post claim has not been set." means that there isn't a claim in the Ambient Data Framework that specifically allows write operations in the OData web service.

This claim is added by the smarttarget_odata_cartridge.jar file.

So make sure that you've installed it properly (see Installing SmartTarget Web service) and that your Ambient Data Framework is running correctly on said Web service.

  • Odata service was not configured correctly. I have compared my odata service for experience manager and for smart target and found some differences between them. By removing those differences and following link provided by Peter and Albert issue seems to be fixed. I am able to create promotions now. Thanks.. Commented Apr 2, 2015 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.