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
Sujendran Sundarraj 8Sujendran Sundarraj 8 

can API Names Duplicated?.. very strange.. please advise.

User-added image
Best Answer chosen by Sujendran Sundarraj 8
NagendraNagendra (Salesforce Developers) 
Hi Sujendran,

Glad it's resolved.

May I suggest you please close this thread by marking it as solved so that it will be available as a proper solution for others who are facing a similar issue.

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Sujendran,

Sorry for this issue you are facing.

Usually, API names are very much unique and cannot be duplicated.

I guess there might be some space or something in the label at the time of creation which might be causing the issue.

May I suggest you please give a try by deleting the extra one and check if it still allows you to create a new one with the same name.

Happy to help further.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
 
Sujendran Sundarraj 8Sujendran Sundarraj 8
Hi Nagendra, 
Thank you for your swift response. 
we figured out the issue. Its because, one field(with the same name) has been created with Portugal language(our clients language) and another one in English. So, While  translating the page in English it showed the API name as common. When we changed to show original the API names are different.i.e., One API in Portugal and another API name is English.. :)  
NagendraNagendra (Salesforce Developers) 
Hi Sujendran,

Glad it's resolved.

May I suggest you please close this thread by marking it as solved so that it will be available as a proper solution for others who are facing a similar issue.

Thanks,
Nagendra
This was selected as the best answer
Sujendran Sundarraj 8Sujendran Sundarraj 8
Hi Nagendra,
Sure, will do. Thank you very much. 
Regards, 
Sujendran