Open Human-bio opened 3 years ago
node:31482) MongoError: (Unauthorized) not authorized on admin to execute command { insert: "authors", documents: [[{name gyfdgyiszukjfheusdzyih} {age 88} {_id ObjectID("60af9c682215ea7afad86f4c")} {__v 0}]], ordered: false, writeConcern: { w: "majority" }, txnNumber: 4.000000, $clusterTime: { clusterTime: {1622121571 1}, signature: { hash: {0 [134 224 34 24 72 83 84 21 31 152 195 189 83 14 136 196 101 10 239 180]}, keyId: 6954772510130831360.000000 } }, lsid: { id: {4 [115 137 219 18 191 230 79 106 130 121 29 168 108 239 195 227]} } }
i think the dependencies of this project are so out of date that a lot of things are not working as expected. needs a refresh using MongoDb and modern react functional components. wondering if anyone has refactored this yet as I feel like I have to start from scratch at this point.
I clonned the repo attached my mongo database but this error showed up when I requested a mutation"message": "(Unauthorized) not authorized on admin to execute command { insert: \"authors\", mongoose schema code