dbAdmin does not have priviledge to execute aggregate command. readWrite does not have priviledge to execute validate. You’ll either need to add a custom role, or change the role to dbOwner to execute both validate and aggregate.