MongoDB throws the exception because the table field contains a $ signed in the name.
Caused by: com.mongodb.MongoException: cannot update reserved $ collection