Today I came across the following error in pandox (pandoc-citeproc) that was a bit cryptic to me:
pandoc-citeproc: "stdin" (line 31, column 2): unexpected "b"
expecting "c", "C", "p", "P", "s" or "S"
[...]
When I also got this on an empty text (markdown) file with just a reference in it, I realized that the markdown document was not the problem. Indeed, I had inadvertedly deleted a trailing comma in the bibtex document.
@article{lee
title = {Racial [...]
doesn’t work; it should be:
@article{lee,
title = {Racial [...]