just checked in PubMed. the PMID is a numeric value, so it should be a list of str. In the SQL is a varchar, so you'll need to change it there.