When I am trying to import an unmanaged solution to my org it gives following error and solution import fails.
Error message: A record with these values already exists. A duplicate record cannot be created. Select one or more unique values and try again. Cannot insert duplicate key.
When I downloaded import log, it shows following following error:
Solution sheet:
Component sheet:
*This post is locked for comments
hi,
did you create this attribute "key_xyz" manually in the destination environment ? check may be the attribute name is similar but the schema name is different ..
Hi Nilesh,
This Error will happen when "key_xyz" attribute is already present in Destination environment and GUID of the attribute is different that the GUID of this attribute in Source System.
Typically this Kind of error can happen in two reason
So Solution could be if it is not production instance and delete the "key_xyz" attribute from the Destination Publish the solution in Destination Environment and then re import the solution.
Hope this help.
Mark the question as verified if this helps
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HR-09070029-0 2
UllrSki 2
ED-30091530-0 1