I am importing images from external system using DMF and using entities RetailMediaResourcesEntity , RetailMediaProductRelationEntity. With external system sending resource id in cases where the same record is sent twice for both entities Media resource ignores it and media product media relation fails with error "Therecord already exists.Cannot create a record in Retail product media relationship (RetailMediaProductRelation)."
Ideally since both have resource id as key it should fail for both since all the fields sent second time for both entities were exactly same I am not sure why it did not fail for RetailMediaResourcesEntity
I hope there might some logic they have handled internally to skip or ignore the duplicate records and other entity it was not handled by internally.
Did you checked the code for both the entity and debugging to idenify the problem.
Thanks,
Subra
If this helped, please mark it as "Verified" for others facing the same issue
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.