Newly defined index does not appear in Atlas shared cluster using API or CLI

HI @Jason_Tran. Thank you for the quick response.

I see the blue bar when I create a new index on the property but when it completes I am not able to see the index for any of the clusters. I don’t see it on activity feed too.

I specify the project Id with the command mongocli config set
before creating an index I call the following commands:

mongocli config set public_api_key $public_api_key 
mongocli config set private_api_key $private_api_key 
mongocli config set org_id $org_id 
mongocli config set project_id $project_id
mongocli config set mongosh_path $mongosh_path

Here are some details which could be helpful.

The command:

mongocli atlas clusters indexes create testIndex --clusterName <clusterName> --collection <collection> --db <db> --key <field:value> --projectId <project Id>

MongoCli version - 1.23.1
The cluster tier - M0 Sandbox (it’s a Dev cluster)
Type - Replica Set-3 nodes
Linked Realm app to that cluster
version 5.0.6

1 Like