[DOCS-6357] Comment on: "primer/import-data.txt" Created: 11/Oct/15  Updated: 03/Nov/17  Resolved: 14/Oct/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongo.exe

Location: https://docs.mongodb.org/getting-started/csharp/import-data/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Referrer: https://docs.mongodb.org/getting-started/csharp/introduction/
Screen Resolution: 1920 x 1080
repo: docs
source: import-data


Participants:
Days since reply: 8 years, 18 weeks, 1 day ago

 Description   

I tried and retried. The command in step 2 (mongoimport --db test --collection restaurants --drop --file primer-dataset.json) keeps returning the error "SyntaxError: Unexpected identifier"



 Comments   
Comment by Kay Kim (Inactive) [ 14/Oct/15 ]

Emailed reporter. I believe he was running the second step in the mongo shell instead of the system shell/command prompt. The step includes this info.

Generated at Thu Feb 08 07:52:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.