mongodb is not my expertise. However; I will still try to help you
Did you check the following thread? ->
https://community.tableau.com/thread/252036In this thread , there is a comment like -> MongoDB Connector for BI doesn't support MonoDB Community Edition. Did you check this?
Also send me the tableau log..