Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7704

Generate Query doesn't work. Unexpected end of json

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.42.2
    • Component/s: GAI
    • None
    • Environment:
      OS: Sonoma 14.3
      node.js / npm versions: 20.11 / 10.2.4
      Additional info:
    • Developer Tools
    • Not Needed

      Problem Statement/Rationale

      "Generate query" action stopped working for me. It throws error "Unexpected end of JSON input" for any query I try

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

      Steps to Reproduce

      • Press "generate query"
      • write query in natural language
      • press enter

      Expected Results

      I want to get AI-generated query

      Actual Results

      I see error "Unexpected end of json"

      Additional Notes

      One of our DBs have a lot collections. Could it be a reason? But I believe it worked there before

        1. 65e75777f1bcee52fa247707_log.gz
          437 kB
        2. image-2024-03-05-18-36-18-490.png
          image-2024-03-05-18-36-18-490.png
          77 kB
        3. image-2024-03-20-15-27-48-539.png
          image-2024-03-20-15-27-48-539.png
          57 kB

            Assignee:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Reporter:
            misha@fibery.io Misha Yermolayev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: