Uncaught: SyntaxError: Missing semicolon. (1:12)

mongodump --uri "mongodb+srv://m001-student:m001-mongodb-basics@sandbox.mongodb.net/sample_supplies”

I try to search this solution in the forum but there are no solution that can solve my problem

(MacOS with mongodb database tool installed via brew)

Please show us a screenshot
Most likely you are running mongodump at mongo prompt
Please exit and run it at os prompt

1 Like

Thank you. I try to run it in command prompt in the Terminal → It also has the problem that command not run but it shows “dquote>” and I don’t know what to do next

Looks like issue with your quotes
Type double quotes don’t copy &paste

1 Like

Thank you very much . Now I mannually type " by my self → It look like works but there is another error like this…

Now the problem was solved by adding “dpvxi2d” in uri
from “mongodb+srv://m001-student:m001-mongodb-basics@sandbox.mongodb.net/sample_supplies”
to “mongodb+srv://m001-student:m001-mongodb-basics@sandbox.dpvxi2d.mongodb.net/sample_supplies”
Thank you.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.