Skip to content

[Bug]: Error when querying MongoDB. #2097

@jack9603301

Description

@jack9603301

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

list_countrys执行失败:{"code":"OK","message":"Sorry, query library has no such query, please check again."}

Expected Behavior

The query data should be returned and the operation should complete successfully.

Steps to reproduce

  1. Create a MongoDB query in the backend query library.
  2. Import this query into the app.
  3. Manually executing the query works fine.
  4. Clicking "Preview" results in an error during the query execution.

Environment

No response

Additional Information

When I imported a query from the backend query library into the interface, everything seemed fine, and the query definitely existed, but when I tried to preview it, it showed an error message indicating that the query library did not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions