Document not reflecting in Compass

I created a new collection moviesScratch and inserted a document via Mongo Shell but that document is reflecting on Compass.

Document get successfully in Mongo Shell as I received Acknowledge = TRUE

You most likely connect to different servers. Please share your 2 connection strings.

Thanks Steevej, I actually created a new DB and in that I created this collection.

Kulwinder Singh

A database is a concept different from a server. If you do not see the document that you created in one application in the other application then you are not connected to the same server, or you have typos (misspelled db, or collection) in one of the application. Sharing the connection strings with us would have elliminated or confirm some of the cause.