Skip to content

Not authorized to execute command on connection deployed mongo database #2792

Description

@prajwal497

Steps to reproduce

Create new app using feathers dove pre released cli.
feathers generate app
Select Mongo Db as adapter

Expected behavior

Db calls should work through generated user services.

Actual behavior

Getting error on every service call:
not authorized on {dbname}?retryWrites=true&w=majority to execute command { insert: "user", documents: [ { email: "user@email.com", password: "$2a$10$nr.fA8Rg2ygFoT/pEMBct.OGmYydNc8zTbJjPj31VSV7aG21/CZJi", _id: ObjectId('63456b4a678cad735ee797c6') } ]

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):

Feathers Version: ^5.0.0-pre.30

NodeJS version: 16.17.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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