Try to insert into mongodb