Navigation
  • API >
  • Atlas API Error Codes

Atlas API Error Codes

Error HTTP Code Description
ADDRESS_ALREADY_IN_WHITELIST
409 The specified address is already on the whitelist.
ALREADY_EXPIRED
400 Cannot update an entity that has already expired.
API_KEY_CANNOT_CREATE_GROUP
401 API Keys cannot create groups.
API_KEY_CANNOT_CREATE_ORG
401 API Keys cannot create organizations.
API_KEY_NOT_FOUND
400 No API Key with ID {API-KEY-ID} exists.
API_KEY_WHITELIST_ACCESS_DENIED
400 API Key whitelists are only accessible by the API Key or by a user administrator.
API_KEY_WHITELIST_NOT_FOUND
404 The specified IP address does not exist in the corresponding API Key whitelist.
ATLAS_BACKUP_CANCEL_SHARD_RESTORE_JOB_NOT_ALLOWED
500 Cannot cancel a restore job of an individual shard. Please cancel the entire sharded cluster restore job.
ATLAS_BACKUP_CONFLICTING_OPTIONS
409 Cannot turn backupEnabled and providerBackupEnabled on at the same time.
ATLAS_BACKUP_TYPE_SWAP_NOT_ALLOWED
409 Cannot flip backupEnabled and providerBackupEnabled at the same time. Please do in two phases.
ATLAS_CLUSTER_VERSION_DEPRECATED
400 MongoDB version is deprecated in Atlas.
ATLAS_CUSTOM_ROLE_HAS_NO_PERMISSIONS
400 Custom roles must have one or more user privilege actions or inherited roles.
ATLAS_CUSTOM_ROLE_IN_USE_BY_ROLES
409 Deleting specified custom role would leave the following roles with no actions or inherited roles <variable>.
ATLAS_CUSTOM_ROLE_IN_USE_BY_USERS
409 Deleting specified custom role would leave the following users without a role <variable>.
ATLAS_CUSTOM_ROLE_INVALID_NAME
400 The role name, <variable>
ATLAS_CUSTOM_ROLE_NAME_ALREADY_EXISTS
409 A custom role with the name <variable> already exists.
ATLAS_CUSTOM_ROLE_NOT_FOUND
404 The specified custom db role <variable> does not exist.
ATLAS_DUPLICATE_CUSTOM_ROLE_ACTION
400 A custom role cannot have duplicate actions.
ATLAS_GENERAL_ERROR
400 Reason <variable>.
ATLAS_GROUP
404 Group <variable> is an Atlas group; use the Atlas Public API at /api/atlas/v1.0 to access it.
ATLAS_INVALID_AUTH_SETTINGS
400 Invalid authentication settings. Users cannot be configured for SCRAM and LDAP authentication.
ATLAS_INVALID_CIDR_BLOCK
400 Atlas CIDR <variable> must be a /21 block.
ATLAS_INVALID_CIDR_RANGE
400 Atlas CIDR <variable> must be in private range.
ATLAS_INVALID_CUSTOM_ROLE_ASSIGNMENT
400 If assigned a custom DB role, a user can only be assigned one role.
ATLAS_INVALID_CUSTOM_ROLE_CIRCULAR_DEPENDENCY
400 One or more of the specified inherited roles creates a circular dependency.
ATLAS_INVALID_CUSTOM_ROLE_INHERITANCE
400 One or more of the specified inherited roles do not exist.
ATLAS_INVALID_CUSTOM_ROLE_INHERITED_SCOPE
400 One or more of the specified inherited roles have an invalid scope.
ATLAS_INVALID_CUSTOM_ROLE_RESTRICTED
400 Cannot create custom role <variable> because a built-in role with that name already exists.
ATLAS_INVALID_CUSTOM_ROLE_SELF_REFERENTIAL
400 A custom DB role cannot inherit from itself.
ATLAS_INVALID_LDAP_NAME
400 The LDAP name specified in the username field, <variable>, is not a valid LDAP name according to RFC 2253.
ATLAS_INVALID_MAINTENANCE_WINDOW_DAY_OF_WEEK
400 Invalid Day of Week. Value should be between 1 and 7 ,Sunday = 1).
ATLAS_INVALID_MAINTENANCE_WINDOW_HOUR_OF_DAY
400 Invalid Hour of Day. Value should be between 0 and 23.
ATLAS_INVALID_RESOURCE
400 One or more of the selected actions was applied to an incorrect resource.
ATLAS_INVALID_ROLE
400 The specified role <variable>@<variable> does not exist.
ATLAS_INVALID_ROLE_DATABASE
400 The specified role <variable> only exists for database <variable>.
ATLAS_INVALID_USERNAME
400 The specified username <variable> is not valid for an Atlas database user.
ATLAS_MAINTENANCE_ALREADY_SCHEDULED
400 The upcoming maintenance has already been scheduled. The maintenance window cannot be adjusted until current maintenance is finished.
ATLAS_MAINTENANCE_NOT_SCHEDULED
400 There is no maintenance scheduled for this project.
ATLAS_MAINTENANCE_WINDOW_NOT_DEFINED
400 No maintenance window defined for project. This action is only supported for projects with user defined maintenance windows.
ATLAS_NETWORK_PERMISSIONS_LIMIT_EXCEEDED
403 Too many network permission entries. Only %d entries are supported.
ATLAS_NUM_MAINTENANCE_DEFERRALS_EXCEEDED
400 Scheduled maintenance for a group cannot be deferred more than twice.
ATLAS_RESERVED_CUSTOM_ROLE_RESTRICTED
400 Cannot create custom role <variable> because the prefix xgen-is reserved for built-in roles.
ATLAS_RESTRICTED_COLLECTION
400 The specified collection <variable> for the role <variable>@<variable> is restricted.
ATLAS_RESTRICTED_ROLE
400 The specified role <variable>@<variable> is restricted.
ATLAS_USER_NOT_USER_EDITABLE
400 This user can only be edited by the system.
ATLAS_WHITELIST_NOT_FOUND
404 IP Address <variable> not on Atlas whitelist for group <variable>.
ATTRIBUTE_READ_ONLY
400 The attribute <variable> is read-only and cannot be changed by the user.
AUTH_TYPE_CANNOT_BE_CHANGED
409 Cannot modify the authentication type of an existing database user.
AUTOMATED_RESTORE_OF_SHARD_NOT_ALLOWED
400 Not allowed to do an automated restore of individual shard snapshots of a sharded cluster.
AUTOSCALING_UNSUPPORTED
400 Cannot set auto-scaling. <variable>.
AWS_CUSTOMER_MASTER_KEY_NOT_FOUND
404 No AWS customer master key found for group <variable>.
AWS_KMS_CUSTOMER_MASTER_KEY_NOT_ENABLED
400 AWS KMS Customer Master Key is not enabled.
AWS_KMS_CUSTOMER_MASTER_KEY_PENDING_DELETION
400 AWS KMS Customer Master Key is pending deletion.
AWS_KMS_CUSTOMER_MASTER_KEY_PENDING_IMPORT
400 AWS KMS Customer Master Key is pending import.
AWS_KMS_REGION_NOT_SUPPORTED
400 Region is not supported by AWS KMS.
AZURE_KEY_VAULT_ENVIRONMENT_NOT_SUPPORTED
400 Environment not supported for Azure Key Vault.
AZURE_KEY_VAULT_KEY_EXPIRED
400 The key has expired.
AZURE_KEY_VAULT_KEY_EXPIRING
400 The key cannot be used because it will expire within the next 48 hours.
AZURE_KEY_VAULT_KEY_IDENTIFIER_INVALID_FORMAT
400 Invalid format for Azure Key Vault Key Identifier.
AZURE_KEY_VAULT_KEY_NOT_ACTIVE
400 The key must not be used before its nbf
AZURE_KEY_VAULT_KEY_NOT_ENABLED
400 Key not enabled.
AZURE_KEY_VAULT_KEY_NOT_FOUND
400 No Azure Key Vault key found for the provided credentials.
BACKUP_CONFIG_NOT_FOUND
404 No backup configuration exists for cluster <variable> in group <variable>.
BAD_WHITELIST_ADD_REQUEST
400 Should not specify both the IP address and the CIDR block.
CANNOT_ADD_IP_ADDRESS_TO_API_KEY_WHITELIST
400
The specified address cannot be added to whitelists. Atlas
does not allow certain IP addresses to be whitelisted, such as 0.0.0.0/32.
CANNOT_CANCEL_AUTOMATED_RESTORE
400 Automated restore cannot be cancelled.
CANNOT_CHANGE_ENCRYPTION_AT_REST_PROVIDER
409 To choose a different Encryption at Rest provider, please disable and re-enable this feature. This will decrypt your data and allow you to encrypt it with a different Encryption at Rest provider.
CANNOT_CHANGE_GEOSHARDED_CLUSTER_TYPE
400 A geo sharded cluster cannot be changed to a different cluster type.
CANNOT_CHANGE_GROUP_NAME
403 Current user is not authorized to change group name.
CANNOT_CLOSE_GROUP_ACTIVE_ATLAS_CLUSTERS
409 Cannot close group while it has active clusters; please terminate all clusters.
CANNOT_CLOSE_GROUP_ACTIVE_BACKUP
409 Cannot close group while it has active backups; please terminate all backups.
CANNOT_CREATE_ATLAS_ORG
400 Atlas organizations cannot be created via Ops Manager.
CANNOT_CREATE_PAUSED_CLUSTER
400 Cluster <variable> cannot be created in a paused state.
CANNOT_DECREASE_DISK_SIZE
500 Not enough data to determine if decreasing disk size is safe.
CANNOT_DISABLE_ENCRYPTION_AT_REST
409 Cannot disable Encryption at Rest on the group because it is still enabled on one or more clusters in the group.
CANNOT_DOWNLOAD_SNAPSHOT_WITH_ENCRYPTION
400 Cannot download snapshots with Encryption at Rest enabled.
CANNOT_ENABLE_ENCRYPTION_AT_REST
409 Cannot enable Encryption at Rest on the group because there are one or more clusters with continuous backup enabled.
CANNOT_MODIFY_CLUSTER_WITH_RUNNING_LIVE_IMPORT
409 Cannot modify a cluster with a running live import.
CANNOT_PAUSE_CLUSTER_WITH_PENDING_CHANGES
409 Cannot pause a cluster with pending changes.
CANNOT_REMOVE_CALLER_FROM_WHITELIST
400 Cannot remove the IP address from the whitelist from which the request originated.
CANNOT_RESTORE_TO_TARGET
403 Cannot restore with insufficient permission on source snapshot or target cluster.
CANNOT_UPDATE_AND_PAUSE_CLUSTER
409 Cannot update and pause cluster <variable> at the same time.
CANNOT_UPDATE_PAUSED_CLUSTER
409 Cannot update cluster <variable> while it is paused or being paused.
CANNOT_USE_AWS_SECURITY_GROUP_WITHOUT_VPC_PEERING_CONNECTION
409 Cannot use aws security groups as whitelist entries without a vpc peering connection.
CANNOT_USE_ENCRYPTION_AT_REST_BACKUP_TYPE
400 Cannot use Encryption at Rest with clusters running continuous backup.
CANNOT_USE_ENCRYPTION_AT_REST_GCP
400 Cannot use Encryption at Rest with GCP clusters.
CANNOT_USE_ENCRYPTION_AT_REST_SHARDED
400 Cannot use Encryption at Rest with sharded clusters.
CANNOT_USE_ENCRYPTION_AT_REST_TENANT
400 Cannot use Encryption at Rest with tenant clusters.
CHECKPOINT_NOT_FOUND
404 No checkpoint with ID <variable> exists for cluster <variable>.
CLOUD_PROVIDER_CONTAINER_NOT_FOUND
404 An invalid cloud provider container ID <variable> was specified.
CLUSTER_ALREADY_REQUESTED_DELETION
400 The cluster <variable> has already been requested for deletion.
CLUSTER_CANNOT_CHANGE_NAME
400 Cannot change name of cluster during an update.
CLUSTER_CANNOT_CHANGE_PROVIDER_NAME
400 Cannot change the cloud provider of a cluster.
CLUSTER_DISK_IOPS_INVALID
400 The cluster’s disk IOPS of %d is invalid. For a disk of size %d on instance size <variable>, the IOPS must be <variable>.
CLUSTER_DISK_SIZE_INVALID
400 The cluster’s disk size of %d GB is greater than the maximum disk size of %d GB for instance size <variable>.
CLUSTER_DISK_SIZE_NOT_WHOLE_NUMBER
400 The cluster’s disk size of %.1f GB is invalid. The disk size must be a positive whole number.
CLUSTER_NAME_INVALID
400 The cluster name <variable> is invalid. The name can only contain ASCII letters, numbers, and hyphens.
CLUSTER_NAME_NOT_FOUND
404 No cluster with name <variable>exists in group <variable>.
CLUSTER_NAME_TOO_LONG
400 Cluster name <variable> is limited to %d characters.
CLUSTER_NOT_FOUND
404 No cluster with ID <variable> exists in group <variable>.
CLUSTER_NUM_SHARDS_INVALID
400 The cluster’s shard count must be between 1 and <variable>.
CLUSTER_REPLICATION_FACTOR_INVALID
400 The cluster’s replication factor must be either 3, 5, or 7.
CLUSTER_RESTORE_IN_PROGRESS_CANNOT_UPDATE
400 Cluster restore in progress
CLUSTER_UPGRADE_INVALID
400 Cluster cannot be upgraded, as specified upgrade version is below the current version.
COLLECTION_ROLES_LIMIT_EXCEEDED
403 Exceeded maximum number of collection level permissions. This group can define at most %d collection level roles.
COMMON_PASSWORD
400 The password provided is too weak, as it can be found in most commonly used password lists.
CONTAINERS_IN_USE
409 Cannot modify in use containers. <variable>.
CONTINUOUS_BACKUP_NOT_SUPPORTED
409 Continuous backup is not supported for groups with Encryption at Rest enabled. Please use Cloud Provider Snapshot backups.
CROSS_REGION_NETWORK_PERMISSIONS_LIMIT_EXCEEDED
403 Cannot have more than %d cross-region network permissions.
CUSTOM_ROLES_LIMIT_EXCEEDED
403 Exceeded maximum number of custom roles.
DATABASE_NAME_CANNOT_BE_CHANGED
409 Cannot modify the authentication database of an existing database user.
DATABASE_NAME_INVALID_ADMIN
400 Database name invalid. <variable> can only be created on the admin database.
DATABASE_NAME_INVALID_EXTERNAL
400 Database name invalid. Externally authenticated users can only be created on the $external database.
DATABASE_USERNAME_CANNOT_BE_CHANGED
409 Cannot modify the username of an existing database user.
DISK_SIZE_GB_TOO_SMALL
400 The selected disk size is smaller than the amount of data currently used.
DUAL_REPLICATION_SPEC_SPECIFIED
400 Both replicationSpec and replicationSpecs fields were specified. Only one of these two should be provided.
DUPLICATE_ADDRESSES_IN_INPUT
400 Two or more of the IP addresses being added to the whitelist are the same.
DUPLICATE_CLUSTER_NAME
400 A cluster named <variable> is already present in group <variable>.
DUPLICATE_DATABASE_ROLES
400 Duplicate database roles specified for user <variable> <variable>.
DUPLICATE_MANAGED_NAMESPACE
400 Managed Namespace <variable> already exists.
DUPLICATE_ZONE_NAME
400 Zone names must be unique across all zones.
ENCRYPTION_AT_REST_NOT_ENABLED
400 Encryption at Rest is not enabled for group <variable>.
EXPIRATION_DATE_EXCEEDS_MAX
400 The specified expiration date can be at most %d days in the future.
EXPIRATION_DATE_IN_PAST
400 The specified expiration date must be in the future.
GOOGLE_CLOUD_KMS_KEY_VERSION_DESTROY_SCHEDULED
400 Key version is scheduled for destruction.
GOOGLE_CLOUD_KMS_KEY_VERSION_DESTROYED
400 Key version is destroyed.
GOOGLE_CLOUD_KMS_KEY_VERSION_DISABLED
400 Key version is disabled.
GOOGLE_CLOUD_KMS_KEY_VERSION_NOT_FOUND
400 Cannot find key version ‘<variable>’.
GOOGLE_CLOUD_KMS_KEY_VERSION_PENDING_GENERATION
400 Key version is pending generation.
GROUP_ALREADY_EXISTS
409 A group with name <variable>already exists.
GROUP_NAME_NOT_FOUND
404 No group with name <variable>exists.
GROUP_NOT_FOUND
404 No group with ID <variable> exists.
GROUP_USERS_LIMIT_EXCEEDED
403 Groups can contain at most %d database users.
HOURLY_BILLING_LIMIT_EXCEEDED
403 The hourly billing limit has been exceeded.
INVALID_API_KEY_DESC
400 The API key description is required, and must be between 1 and 250 characters long.
INVALID_ATLAS_GROUP
404 Atlas group <variable> is in an invalid state and cannot be loaded.
INVALID_ATTRIBUTE
400 Invalid attribute <variable> specified.
INVALID_AWS_CREDENTIALS
400 Invalid AWS credentials.
INVALID_AZURE_CREDENTIALS
400 Invalid Azure credentials.
INVALID_BI_CONNECTOR_READ_PREFERENCE_FOR_TOPOLOGY
400

You cannot set the biConnector.readPreference value of a cluster to analytics if you have no analytics nodes in the cluster.

You cannot remove all analytics nodes from a cluster if the cluster’s biConnector.readPreference value is analytics.

INVALID_CLUSTER_CONFIGURATION
400 The specified cluster configuration is not valid.
INVALID_COLLECTION_NAME
400 Invalid collection names specified <variable>. See Restrictions on Collection Names for details.
INVALID_ENCRYPTION_AT_REST_PROVIDER
400 An invalid Encryption at Rest provider <variable> was specified.
INVALID_GOOGLE_CLOUD_CREDENTIALS
400 Invalid Google Cloud credentials.
INVALID_GROUP_ID
404 An invalid group ID <variable> was specified.
INVALID_GROUP_NAME
400 An invalid group name <variable>was specified.
INVALID_GROUP_NAME_10GEN
400 Group name cannot contain 10gen-or -10gen.
INVALID_GROUP_TOKEN
400 A group tag must be a string ,alphanumeric, periods, underscores, and dashes) of length + GroupSvc.MAX_TAG_LENGTH + characters or less.
INVALID_HOSTNAME
400 Invalid hostname <variable>.
INVALID_IOPS_OUT_OF_BOUNDS
400 The IOPS value <variable> is not valid. It must be between the minimum and maximum values returned in the machine configuration options.
INVALID_IP_ADDRESS_OR_CIDR_NOTATION
400 The address <variable> must be in valid IP address or CIDR notation.
INVALID_LOCATION_CODE
400 Invalid location code <variable>. A list of valid codes is available.
INVALID_NUM_OF_SNAPSHOTS_TO_RETAIN
400 Number of snapshots to retain must be greater than 0.
INVALID_PATH_PARAMETER
400 Invalid path parameter <variable> specified.
INVALID_PROVIDER
400 No provider <variable> exists.
INVALID_REFERENCE_HOUR_OF_DAY
400 Snapshot schedule reference hour must be between 0 and 23, inclusive.
INVALID_REFERENCE_MINUTE_OF_HOUR
400 Snapshot schedule reference minute must be between 0 and 59, inclusive.
INVALID_REGION
400 No region <variable> exists for provider <variable>.
INVALID_ROLE_FOR_ORG
400 Role <role> invalid for organization <orgId>.
INVALID_ROUTE_TABLE_CIDR
400 The address <variable> must be within the private ranges [10.0.0.0/8
INVALID_SAMPLE_REFRESH_INTERVAL_BI_CONNECTOR
400 Your BI Connector sample refresh interval must be greater than or equal to zero.
INVALID_SAMPLE_SIZE_BI_CONNECTOR
400 Your BI Connector schema sample size must be greater than or equal to zero.
INVALID_SNAPSHOT_RESTORE_ENCRYPTION
400 Encryption settings of targert cluster and source snapshot are different.
INVALID_USERNAME
400 The specified username is not a valid email address.
LDAP_VERIFY_CONNECTIVITY_NO_AVAILABLE_CLUSTERS
400 No clusters available to perform LDAP connectivity verification for groupId <variable>. At least one active cluster running MongoDB version 3.4 or greater is required.
LDAP_VERIFY_CONNECTIVITY_NO_AVAILABLE_INSTANCES
400 No cluster nodes are available to perform LDAP connectivity verification for groupId <variable>.
LDAP_VERIFY_CONNECTIVITY_NO_AVAILABLE_MONGODB_PACKAGE
400 No MongoDB package available to perform LDAP connectivity verification for group <variable>.
LDAP_VERIFY_CONNECTIVITY_REQUEST_NOT_FOUND
404 LDAP connectivity verification request <variable> not found for group <variable>.
MISSING_API_KEY_ROLES
400 API keys must have at least one valid role.
MISSING_ATTRIBUTE
400 The required attribute <variable> was not specified.
MISSING_ATTRIBUTES
400 The required attributes <variable> were not specified.
MISSING_ENCRYPTION_AT_REST_PROVIDER
400 At least one Encryption at Rest provider must be specified.
MISSING_QUERY_PARAMETER
400 The required query parameter <variable> was not specified.
MONGODB_VERSION_INVALID
400 An invalid MongoDB version <variable> was specified.
MULTIPLE_GROUPS
409 Multiple groups exist with the specified name.
NETWORK_PERMISSION_EXPIRATION_NOT_SUPPORTED
400 Expiration dates are only supported for IP addresses.
NO_CAPACITY
409 Cannot find the AWS capacity for group <variable>.
NO_COMMON_INSTANCE_FAMILY
400 Cluster configuration is invalid. There is no common supported instance family in the selected regions.
NO_PAYMENT_INFORMATION_FOUND
402 No payment information was found for group <variable>.
NO_PERMISSION_TO_ENCRYPT_DECRYPT
400 The provided credentials do not have permission to encrypt or decrypt with the key.
NOT_ATLAS_GROUP
404 Group <variable> is not an Atlas group; use the Cloud Manager API at /api/public/v1.0 to access it.
NOT_ATLAS_ORG
404 Organization <variable> is not an Atlas organization; use the Cloud Manager API at /api/public/v1.0 to access it.
NOT_IN_GROUP
401 The current user is not in the group, or the group does not exist.
NOT_ORG_GROUP_CREATOR
401 The currently logged in user does not have the group creator role in organization <variable>.
NVME_STORAGE_CONTINUOUS_BACKUP_UNSUPPORTED
400 Continuous backup is enabled for this project and is unsupported for deployments with NVMe storage.
NVME_STORAGE_PROVIDER_BACKUP_REQUIRED
400 Cloud Provider Snapshot backups must be enabled for deployments with NVMe storage.
OPLOG_SIZE_MB_LESS_THAN_990
400 Your oplog size cannot be changed to < 990 MB on MongoDB 3.6+.
OPLOG_SIZE_MB_LESS_THAN_EQUAL_ZERO
400 Your oplog size cannot be <= 0.
OPLOG_SIZE_MB_TOO_BIG
400 Your oplogSizeMB is too big. <variable>.
OPLOG_SIZE_MB_TOO_SMALL
400 Your oplogSizeMB is too small. <variable>.
ORG_NOT_FOUND
404 No organization with ID <variable> exists.
OUT_OF_CAPACITY
409 The requested region is currently out of capacity for the requested instance size.
OVERLAPPING_ATLAS_CIDR_BLOCK
409 The CIDR block <variable> overlaps with an Atlas CIDR block.
OVERLAPPING_BACKUP_PLANS_NOT_SUPPORTED
409 A project’s cluster backups must be either Continuous or Cloud Provider Snapshots, currently a mix is not supported.
OVERLAPPING_CIDR_BLOCK
409 The CIDR block <variable> overlaps with another peer’s CIDR block.
PEER_ALREADY_EXISTS
409 The peer with AWS Account ID <variable> and VPC ID <variable> already exists.
PEER_ALREADY_REQUESTED_DELETION
409 The peer with ID <variable> in has already been requested for deletion.
PEER_INVALID_STATE
409 The peer with ID <variable> in group <variable> cannot be updated in its current state.
PEER_MAXIMUM_REACHED
409 The maximum number of peering connections <variable> has been reached.
PEER_NOT_FOUND
404 No peer with ID <variable> exists in group <variable>.
PERMANENT_ENTITY_CANNOT_BE_MADE_TEMPORARY
400 A permanent entity cannot be made temporary.
PROVIDER_BACKUP_NOT_SUPPORTED
400 Provider snapshot backups are not supported for this type of provider.
REGION_UNAVAILABLE
409 The selected region <variable> is unavailable for use.
RESTORE_JOB_NOT_FOUND
404 No restore job with ID <variable> exists for cluster <variable>.
RESTORE_JOB_NOT_FOUND_IN_GROUP
404 No restore job with ID <variable> exists in group <variable>.
SHARDED_CLUSTER_CANT_BECOME_REPLICA_SET
400 A sharded cluster cannot become a replica set.
SHARDING_NOT_SUPPORTED
400 Sharding is not supported for the selected instance size <variable>.
SNAPSHOT_NOT_FOUND
404 No snapshot with ID <variable> exists for cluster <variable>.
TENANT_CLUSTER_PROCESS_ARGS_NOT_SUPPORTED
400 Cannot set custom process args for tenant clusters.
TENANT_CLUSTER_UPDATE_UNSUPPORTED
400 Cannot update a M0/M2/M5 cluster through the public API.
TOO_MANY_GROUP_TOKENS
400 Groups are limited to + GroupSvc.MAX_TAGS_PER_GROUP + tags.
UNEXPECTED_ERROR
500 Unexpected error.
UNSUPPORTED_DELIVERY_METHOD
400 The specified delivery method is not supported.
UNSUPPORTED_ROLE
400 The provided role is not supported.
UNSUPPORTED_VERSION_FOR_LDAP_AUTHENTICATION
400 LDAP authentication requires all clusters to run MongoDB version 3.4 or higher.
USER_ALREADY_EXISTS
409 A user with username <variable> already exists.
USER_NOT_FOUND
404 No user with ID <variable> exists.
USER_UNAUTHORIZED
401 Current user is not authorized to perform this action.
USERNAME_NOT_FOUND
404 No user with username <variable> exists.