Monday, 30 November 2020

An item with the same key has already been added Sitecore EXM

If you are using Sitecore EXM campaign on Form submit button, then you may be facing below issue on UI screen as 

Send Email Failed...


and if you will see Sitecore EXM log will get that error information as

an item with the same key has already been added


Message: an item with the same key has already been added.


To overcome with this issue, would suggest to go back on the Form Builder and ensure that all form Fields name are unique, and if not then please update will started working.

Hope above tips will help to resolve this issue.

Thursday, 26 November 2020

The date range is invalid. Please select a date range that is within the range of the list Sitecore Forms

 From last few days working on Sitecore forms and come up with common issue while development.
And to save developers time sharing fixes/work around as much I can:


You may be getting error as 


The date range is invalid. Please select a date range that is within the range of the list.

while trying to generate Sitecore form report, even you have selected right date range or as complete list.


The reason here is because Form must have at least one record, if Fresh form has been created and without any records generating report then will get this issue.


Hope this minor check will help you.