Have a problem to read from MongoDB when job falls...
# replication-ask-ai
m
Have a problem to read from MongoDB when job falls into following error
Copy code
"internalMessage" : "com.mongodb.MongoCommandException: Command failed with error 13 (Unauthorized): 'not authorized on admin to execute command { aggregate: 1, pipeline: [ { $changeStream: { allChangesForCluster: true } } ], cursor: {}, $db: \"admin\", lsid: { id: UUID(\"695122a1-5087-4980-9f0e-c749d0761088\") }
Authentication Source: obs-inventory
Database Name: obs-inventory
Why error indicates
$db: \"admin\
and what work around would be?
k
New message text here