It's not the best, nor a guaranteed fix, but I noticed that sometimes Latex (or at least Overleaf?) gets confused when I copy in toomany sources or an entire .bib file at once. It sometimes worked when I copied in the sources in little bunches of around 5 sources per copy/paste.