-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Atlas Streams
$merge to a sharded cluster requires Atlas Admin privileges. But currently we throw a hard to understand error message like below. We should include text that says "Atlas Admin privileges are required to $merge to a sharded cluster."
$merge to coll failed: not authorized on config to execute command { find: "collections", filter: { _id: "coll" }, $db: "config", lsid: { id: UUID("0459197c-2348-4ff7-9fae-62277edfb791") }, $clusterTime: { clusterTime: Timestamp(1730982624, 3), signature: { hash: BinData(0, C583609D409F1D563AF2E5BD48DC75C16B8B0B23), keyId: 7428242639620669462 } } }: generic server error