Seems that the user has no permission to listIndexes
As per the documentation
Required Access
The user executing the command requires either find privileges on the system.indexes collection or the listIndexes privilege action. At a minimum, the read built-in role provide the requisite permissions.