function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mr Mehedi HasanMr Mehedi Hasan 

How to solve Duplicate Relationship error while installing a package?

0
Good day people. Let me state my problem. I've my own org also one client org. There's some custom fields on client's org for Account object. But, my org doesn't have those custom fields, moreover there are some lookup relationship with these custom field. So, I had to create the custom field manually and set the lookup relationships in my org. That means:
1. I've created same field as my custom's org.
2. Used that field for lookup relationship, same as customer's org.
3. Now created a package to deploy on custom org.
But, while trying to deploy the package, I'm facing duplicate relationship error, as the custom field on Account object is same as mine. I intend to keep this that way without changing my custom field name or anything. Is there any proper solution to this? Thanks in advance.
User-added image
ShirishaShirisha (Salesforce Developers) 
Hi,

Greetings!

No,there is no possible solution for this issue other than changing the relationship name to fix the issue.Please refer the below thread for more information;

https://trailblazers.salesforce.com/answers?id=9063A000000DtEWQA0

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri