How do I fix error "font contains duplicate file names"?

Edit the production name of one of the two glyphs to be different from the other one as described here:

More details about the production name can be found a bit further down that page:

Can you check the unicode of those two glyphs.