Skip to content

mongodb introspection error #863

@nrjais

Description

@nrjais

DBCode seems to be inpecting collection using commands which require extra permissions, can this be optional and fallback to something else so that basic db queries works, currently after this failure basic queries also don't work
the creds only have read permission on one db

Error:
not authorized on db to execute command { collStats: "system.profile", lsid: { id: UUID("7edf1aab-c8a0-4ec0-8100-4d969d15e037") }, $clusterTime: { clusterTime: Timestamp(1764572519, 338)}, $readPreference: { mode: "primaryPreferred" }, $db: "db" }


VSCode Version: 1.105.1
Extension Version: 1.19.8
OS: darwin
Arch: arm64
Database Version: 4.0.28 - 4.0.28

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