Shell error for inserting one document using insertOne()

identifier starts immediately after numeric literal

Hi @sai_18604,

Please share the screenshot of the query and error.

Thanks,
Sonali

I tries in cluster but not in sandbox

Is this the correct way or execute query through sandbox

Hi @sai_18604,

Please check the following things:

  • You are connected to the Atlas Sandbox cluster, not to our Class Atlas Cluster, from the Mongo Shell.

  • While Creating the Sandbox Cluster, make sure you have set “Read and Write to any Database” user privilege.

I hope this will solve your issue. If you still face any problem, please let me know.

Thanks,
Sonali

Yeah it worked perfectly for me

1 Like