Unable to Save the Promotion when we added new banner/ Campaign Component to the existing Promotion.
Error : ERROR WebServiceExecutor - Unable to save Campaign with Id: SmartTargetMetaPromotion (SmartTarget Meta Promotion (do not remove!)), status code = 404.
Error:
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:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code></code>
<message xml:lang="en-US">Unable to update Promotion 'New test promotion 25.11.2015'.</message>
</error>
at System.Data.Services.Client.SaveResult.HandleResponse()
at System.Data.Services.Client.BaseSaveResult.EndRequest()
at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)
at Tridion.Web.UI.Models.SmartTarget.Promotions.SavePromotion(String instanceId, Promotion promotion, String insertAfter)
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.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
----------------
ERROR in Smart Target Log : 2019-11-26 10:10:05,851 DEBUG LabelsHelper - Started fredhopper query call
2019-11-26 10:10:05,851 INFO WebServiceExecutor - Trying to see if a label with id: smarttarget exists using the Fredhopper WebService URL: https://xx.prepublished.xxx.fas.eu1.fredhopperservices.com/fredhopper/config/labels/single/smarttarget
2019-11-26 10:10:05,862 DEBUG WebServiceExecutor - Fredhopper Web service call for retrieved result in: 21 ms.
2019-11-26 10:10:05,942 DEBUG WebServiceExecutor - Trying to retrieve a result within a timeout of 20000 ms.
2019-11-26 10:10:05,956 DEBUG PromotionsDataMapper - Started fredhopper query call
2019-11-26 10:10:06,056 ERROR WebServiceExecutor - Unable to save Campaign with Id: SmartTargetMetaPromotion (SmartTarget Meta Promotion (do not remove!)), status code = 404
2019-11-26 10:10:06,056 DEBUG WebServiceExecutor - Fredhopper Web service call for retrieved result in: 114 ms.
--------------------------------
cd_core.log: 2019-11-26 10:10:06,061 ERROR SmartTargetPromotionsWritableODataRegistrationService - Unable to update Promotion 'New test promotion 25.11.2015'.
com.tridion.smarttarget.SmartTargetException: Failed to save the Promotion. Check the SmartTarget log for details.
at com.tridion.smarttarget.promotions.PromotionsDataMapper.savePromotion(PromotionsDataMapper.java:97)
at com.tridion.smarttarget.promotions.PromotionsDataMapper.savePromotion(PromotionsDataMapper.java:65)
at com.tridion.smarttarget.promotions.SmartTargetMetaDataPromotion.save(SmartTargetMetaDataPromotion.java:164)
at com.tridion.smarttarget.promotions.Promotion.updateMetaDataPromotion(Promotion.java:564)
at com.tridion.smarttarget.promotions.Promotion.synchronizedUpdateMetaDataPromotion(Promotion.java:534)
at com.tridion.smarttarget.promotions.Promotion.beforeSave(Promotion.java:519)
at com.tridion.smarttarget.promotions.Promotion.save(Promotion.java:485)
at com.sdl.web.experience.management.SmartTargetPromotionsWritableODataRegistrationService.update(SmartTargetPromotionsWritableODataRegistrationService.java:151).