Mongosh not initialized yet This is an error inside mongosh.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:RHEL 8.x
      Additional info: mongodb version 8.0.8
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Mongosh_log

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      execute the javascript file.

      Expected Results

      What do you expect to happen?

      It's execute the script but at the end it will throw an error as below

      Please file a bug report for the MONGOSH project here: https://jira.mongodb.org/projects/MONGOSH/issues.

      Actual Results

      What do you observe is happening?

      MongoshInternalError: [COMMON-90001] Mongosh not initialized yet

      Additional Notes

      Any additional information that may be useful to include.

        1. Mongosh_log
          8 kB
          Naveen Gajjala

              Assignee:
              Unassigned
              Reporter:
              Naveen Gajjala
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: