-
Type: Bug
-
Resolution: Gone away
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Stitch
-
Labels:None
Description
The documentation for the dashboard tutorial contains the following language for a step:
----------------------------------------------------------------------------------------
Import the Application Directory
Run the following command from within the dashboard-stitch directory to create and populate your Stitch application:
stitch-cli import
You will be prompted by stitch-cli to create a new application. Respond affirmatively, then provide your Atlas Project Name and a descriptive name of your choosing for the application, e.g. dashboard-tutorial. You can find your Atlas Project Name listed on the Settings page of the Atlas UI.
----------------------------------------------------------------------------------------
When you attempt to run stitch-cli import }}as specified in the instructions, the following error will occur after entering an App Name: {{failed to find Project: an unexpected server error has occurred. This is due to not specifying the --project-id=xxxx flag when running the stitch-cli import command above. Adding the project id flag as shown below resolves the issue:
stitch-cli import --project-id=xxxxx
Please reference this Stack Overflow question for more information: https://stackoverflow.com/questions/51428041/mongodb-stitch-cli-import-failed
I would recommend adding information about adding the project id to the dashboard tutorial instructions found here:
https://docs.mongodb.com/stitch/tutorials/dashboard/