Web API prevent creating duplicate keys
I would like to hereby request that the WebAPI is changed so that the creation of duplicate keys is prevented.
I'm currently working with Overleaf and noticed that not only does the imported bibliography not use the keys I set with Better Bibtex - which wouldn't be a problem on its own - but the API seems to be just overwriting the keys generated by the Zotero client. And even worse, there seems to be no safeguard whatsoever to prevent having two entries have the same key. This should not happen.
I'm currently working with Overleaf and noticed that not only does the imported bibliography not use the keys I set with Better Bibtex - which wouldn't be a problem on its own - but the API seems to be just overwriting the keys generated by the Zotero client. And even worse, there seems to be no safeguard whatsoever to prevent having two entries have the same key. This should not happen.
The way Zotero's built-in bibtex export works, there's know way to keep citekeys stable/non-duplicate (it's not aware of previous exports)
In that case, such keys are somewhat volatile in the way that @adamsmith means, in that API pagination can make it happen that keys that are only distinguished by a postfix sometimes don't get one, or get the wrong one, leading to key clashes. The only way to (currently) prevent this is to enter the key into the extra field; one of the things that BBT does is automating that procedure.