<div dir="ltr">Playing around with ndb_mongodb<div><br></div><div>getting this error:</div><div><br></div><div>ERROR: ndb_mongodb [mongodb_client.c:262]: mongodbc_exec_cmd(): Failed to run command: lexical error: invalid char in json text<br></div><div><br></div><div>query is very simple:</div><div>db.cdrs.insert({time:new Date(),src_user:"kelvin",term_ani:"14112",src_domain:"<a href="http://domain.com">domain.com</a>",src_ip:"0",dst_ouser:"18188",dst_user:"18112",dst_domain:"<a href="http://domain.com">domain.com</a>"})<br></div><div><br></div><div>which is inside a pv</div><div>mongodb_cmd("mgs1", "datab", "cdrs", "$var(MNG_MISSED)", "mgr1");<br></div><div><br></div><div>tried this:</div><div>insert({time:new Date(),src_user:"kelvin",term_ani:"14112",src_domain:"<a href="http://domain.com">domain.com</a>",src_ip:"0",dst_ouser:"18188",dst_user:"18112",dst_domain:"<a href="http://domain.com">domain.com</a>"})<br></div><div><br></div><div>and other combinations, same error</div><div><br></div><div>any ideas? i guess we need some more examples on the documentation</div><div><br></div><div><br clear="all"><div><div class="gmail_signature">Kelvin Chua</div></div>
</div></div>