Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12072

MongoDB Stitch Dashboard stitch-cli import command missing --project-id flag

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Stitch
    • None

    Description

      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/

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            nick.larew@mongodb.com Nicholas Larew
            dhelfand Daniel Helfand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 17 weeks, 2 days ago