Numeric Collection Name Remove
I was having the same issue with a collection generated by a java class
db["1234"].drop()Wed Jul 9 14:57:39.358 TypeError: Cannot call method 'drop' of undefined
and at the end used the following command to remove it.
db.getCollection('1234').drop()