SAP Knowledge Base Article - Preview

3687911 - Ambiguous Unique Keys Error in SAP Commerce CPI/OData Integration

Symptom

An intermittent error occurs during inbound data loads from CPI to SAP Commerce Cloud. The system fails to save entries for entityType: XXXXX and logs the following error:

"An error occurred while attempting to save entries for entityType: XXXX, with error message ambiguous unique keys {XXX=XXXX2Model (@1), code=XXXXXXX} for model XXXXX2EntryModel () - found 1 item(s) using the same keys".

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • CPI/SCPI
  • SAP Commerce
  • SAP Commerce Cloud
  • SAP Commerce Cloud, integration extension pack

Product

SAP Commerce Cloud all versions ; SAP Commerce Cloud, integration extension pack all versions ; SAP Commerce all versions

Keywords

NonUniqueItemFoundException, ccv2, hybris , KBA , CEC-SCC-INT-IAPI , Integration APIs , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.