I try to merge a file in cross-sectional format containing a certain variable with a master file which has many variables. However, i get the following error. Both the files have same cross-sectional format. Can someone suggest how it can be resolved:

Error:
variable stock does not uniquely identify observations in the master data
r(459);

stock is the name of firm.