Cloud Manager Administration API Error Codes
Cloud Manager will no longer support Automation, Backup, and Monitoring for MongoDB 3.6 and 4.0 after August 30th, 2024. Please upgrade your MongoDB deployment or migrate to Atlas.
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
Note
Groups and projects are synonymous terms. Your {PROJECT-ID}
is the
same as your project id. For existing groups, your group/project id
remains the same. This page uses the more familiar term group when
referring to descriptions. The endpoint remains as stated in the
document.
If you encounter an error when issuing a request to the Cloud Manager Administration API, Cloud Manager returns one of the following error codes:
Error | HTTP Code | Description |
---|---|---|
Group has an unpaid invoice that is more than 30 days old. | ||
Acknowledgement comment too long. It must not exceed
<number> characters. | ||
The address <address> is already on the access list. | ||
No alert configuration with ID <ID> exists in group
<group> . | ||
No alert with ID <ID> exists in group <group> . | ||
API Keys cannot create groups. | ||
API Keys cannot create organizations. | ||
No API Key with ID {API-KEY-ID} exists. | ||
API Key access lists are only
accessible by the API Key itself or by a user administrator. | ||
The specified IP address does not exist in the
corresponding API Key access list. | ||
The attribute <attribute> cannot be negative or zero. | ||
The attribute <attribute> cannot be negative. | ||
The attribute <attribute> is read-only and cannot be
changed by the user. | ||
Authentication mechanism <mechanism> requires SSL. | ||
No automation configuration exists for group <group> . | ||
No backup configuration exists for cluster <cluster> in
group <group> . | ||
User <username> is not in group <group> . | ||
No user with username <username> exists. | ||
Should not specify both the IP address and the CIDR block. | ||
The specified username <username> is not allowed. | ||
The specified address cannot be added to access list.
Cloud Manager does not allow certain IP addresses to be
added to the access list, such as 0.0.0.0/32 . | ||
Adding a global role is not supported. | ||
Current user is not authorized to change group name. | ||
Cannot close account while the group has active backups;
please terminate all backups. | ||
Cannot close account because there are failed invoices. | ||
Cannot individually delete a snapshot that is part of a
cluster snapshot. | ||
Cannot remove the last owner from the group. If you are
trying to close the group by removing all users, please
delete the group instead. | ||
You cannot remove all roles from a user. Specify at least one
role. | ||
Cannot demote the last owner of the organization. | ||
Cannot demote the last owner of the group. | ||
Cannot distribute subnets. There must be at least one subnet
available. | ||
Cannot download a log collection request job in the
EXPIRED state. | ||
Cannot download a log collection request job in the
IN_PROGRESS state. | ||
Cannot extend duration of logs that have already expired. | ||
Cannot get backup configuration without cluster being
monitored. | ||
Cannot get volume size limits for volume type <type> . | ||
Cannot modify host <host> because it is managed by
Automation. | ||
Cannot modify backup configuration for individual shard; use
cluster ID <ID> for entire cluster. | ||
Cannot remove caller's IP address <address> from the
access list. | ||
Username and password cannot be manually set for a managed
cluster. | ||
Cluster checkpoint interval can only be set for sharded
clusters, not replica sets. | ||
Username and password fields are only supported for
authentication mechanism MONGODB_CR or PLAIN . | ||
Cannot change password unless authentication mechanism is
MONGODB_CR or PLAIN . | ||
Setting the point in time window is not allowed. | ||
Setting the reference point time of day is not allowed. | ||
Cannot start backup unless the cluster is in the INACTIVE
or STOPPED state. | ||
Cannot start backup without providing billing information. | ||
Cannot start restore job for deleted cluster snapshot. | ||
Cannot start restore job for deleted snapshot. | ||
Cannot start restore job for incomplete cluster snapshot. | ||
Cannot stop backup unless the cluster is in the STARTED
state. | ||
Cannot terminate backup unless the cluster is in the STOPPED
state. | ||
No checkpoint with ID <ID> exists for cluster
<cluster> . | ||
No cluster with ID <ID> exists in group <group> . | ||
No restore job with ID <ID> exists for config server
<config server> . | ||
No snapshot with ID <ID> exists for config server
<config server> . | ||
Metric <metric> requires a database name to be provided. | ||
No database with name <name> exists on host <host> . | ||
The limit check failed while trying to add the requested
resource. Please try again. | ||
Failed to send an invitation to <username> to join
<group> . | ||
Metric <metric> requires a device name to be provided. | ||
No device with name <name> exists on host <host> . | ||
The domain name for the machine is too long. Try shortening
the hostname prefix. | ||
Two or more of the IP addresses being added to the access list
are the same. | ||
Email and/or SMS must be enabled for group notifications. | ||
Email and/or SMS must be enabled for user notifications. | ||
Expiration date for log collection request job must be in
the future. | ||
Expiration date for log collection request job can only be as
far as 6 months in the future. | ||
Cannot close account due to a charge failure. | ||
Feature not supported by current account level. | ||
Timestamp must be whole number of seconds. | ||
The specified event type <type> can only be used for
global alerts. | ||
A group with name <name> already exists. | ||
No group with API Key <key> exists. | ||
The specified group ID <ID> does not match the URL. | ||
No group with name <name> exists. | ||
No group with ID <ID> exists. | ||
No last ping exists for host <host> in group <group> . | ||
No host with ID <ID> exists in group <group> . | ||
No host with hostname and port <name:port> exists in
group <group> . | ||
Instance must be created with exactly one SSH-enabled
security group. | ||
An invalid agent type name <name> was specified. | ||
An invalid alert configuration ID <ID> was specified. | ||
An invalid alert ID <ID> was specified. | ||
An invalid alert status <status> was specified. | ||
Invalid attribute <attribute> specified. | ||
Invalid authentication mechanism <mechanism> . | ||
An invalid authentication type name <name> was specified. | ||
An invalid checkpoint ID <ID> was specified. | ||
Cluster checkpoint interval must be 15, 30, or 60 minutes. | ||
An invalid cluster ID <ID> was specified. | ||
Daily snapshot retention period must be between 1 and 365
days. | ||
An invalid directory name <name> was specified. | ||
An invalid email address was specified. | ||
An invalid enumeration value <value> was specified. | ||
Event type <type> not supported for alerts. | ||
Backup configuration cannot specify both included namespaces
and excluded namespaces. | ||
An invalid granularity <granularity> was specified. | ||
An invalid group ID <ID> was specified. | ||
Group name cannot contain "10gen-" or "-10gen". | ||
An invalid group name <name> was specified. | ||
A group tag must be a string (alphanumeric, periods,
underscores, and dashes) of length <MAX_TAG_LENGTH>
characters or less. | ||
Invalid host port <number> . | ||
Invalid hostname prefix <prefix> . It must contain only
alphanumeric characters and hyphens, may not begin or end
with a hyphen ("-"), and must not be more than 63 characters
long. | ||
Invalid hostname <name> . | ||
Invalid instance count <number> . It must be between
<number> and <number> . | ||
Invalid instance type <type> . It must be one of the
listed instance types returned in the machine configuration
options. | ||
The IOPS value <number> is not valid. The maximum ratio
between the IOPS value and the volume size is 30 : 1. | ||
The IOPS value <number> is not valid. It must be between
the minimum and maximum values returned in the machine
configuration options. | ||
An invalid restore job ID <ID> was specified. | ||
Received JSON for the <attribute> attribute does not
match expected format. | ||
Received JSON does not match expected format. | ||
An invalid key ID <ID> was specified. | ||
Log request size must be a positive number. | ||
An invalid machine ID <ID> was specified. | ||
The specified machine image is invalid. | ||
An invalid metric name <name> was specified. | ||
The username <username> is not a valid MongoDB login. | ||
Monthly snapshot retention period must be between 1 and 36
months. | ||
An invalid mount location <location> was specified. The
mount location must be equal to or a parent of
<location> . | ||
Operator <operator> is not compatible with event type
<type> . | ||
An invalid period was specified. | ||
Invalid parameter combination specified for provider
<provider> . | ||
Invalid query parameter <parameter> specified. | ||
Snapshot schedule reference hour must be between 0 and 23,
inclusive. | ||
Snapshot schedule reference minute must be between 0 and 59,
inclusive. | ||
Snapshot schedule timezone offset must conform to ISO-8601
time offset format, such as "+0000". | ||
No region <region> exists for provider <provider> . | ||
Role <role> is invalid for group <group> . | ||
Invalid root volume size <number> . It must be between the
minimum and maximum values returned in the machine
configuration options. | ||
Security group <group> is invalid. It must be one of the
security groups returned in the machine configuration
options. | ||
An invalid snapshot ID <ID> was specified. | ||
Snapshot interval must be 6, 8, 12, or 24 hours. | ||
Snapshot retention period must be between 1 and 5 days. | ||
An invalid SSH key was specified. | ||
An invalid user ID <ID> was specified. | ||
The specified username is not a valid email address. | ||
No user <username> exists. | ||
Invalid volume name <name> . It must be one of the listed
volume names returned in the machine configuration options. | ||
Invalid or unavailable VPC <VPC> or subnet <subnet> . | ||
Weekly snapshot retention period must be between 1 and 52
weeks. | ||
An invalid maintenance window ID <ID> was specified. | ||
No zone <zone> exists for region <region> . | ||
IP address <address> is not allowed to access this
resource. | ||
No last ping exists for group <group> . | ||
Cannot set HTTP link expiration time after snapshot deletion
time. | ||
No job with the given ID exists in this group. | ||
No machine configuration parameters exist for provider
<provider> . | ||
No maintenance window with ID <ID> exists in group
<group> . | ||
Maintenance window configurations must specify a start date
before their end date. | ||
Maximum number of users per group ( <number> ) in <ID>
exceeded while trying to add users. | ||
Maximum number of users per organization ( <number> ) in
<ID> exceeded while trying to add users. | ||
Maximum number of teams per group ( <number> ) in <ID>
exceeded while trying to add teams. | ||
Maximum number of Cloud Manager users per team exceeded while trying
to add users. Teams are limited to 250 users. | ||
Maximum number of teams per organization exceeded while
trying to add team. Organizations are limited to 250 teams. | ||
The metric threshold should only be specific for host metric
alerts. | ||
No alert configuration ID was found. | ||
The required attribute <attribute> was not specified. | ||
The attributes <attribute> and <attribute> must be
specified for authentication type <type> . | ||
Authentication mechanism <mechanism> requires username
and password. | ||
Maintenance window configurations must specify at least one
alert type. | ||
Maintenance window configurations must specify an end date. | ||
Maintenance window configurations must specify a start date. | ||
A metric threshold must be specified for host metric alerts. | ||
At least one notification must be specified for an alert
configuration. | ||
Either the <attribute> attribute or the <attribute>
attribute must be specified. | ||
Either the <attribute> attribute, the <attribute>
attribute, or the <attribute> attribute must be
specified. | ||
The required attribute <attribute> was incorrectly
specified or omitted. | ||
Username cannot be changed without specifying password. | ||
The required query parameter <parameter> was not
specified. | ||
Group notifications cannot specify an empty list of roles. | ||
Changing the storage engine will require a resync, so a sync
source must be provided. | ||
A threshold must be specified for member health alerts. | ||
Multiple groups exist with the specified name. | ||
Either the <parameter> query parameter or the
<parameter> query parameter but not both should be
specified. | ||
A suitable checkpoint could not be found for the specified
point-in-time restore. | ||
No current user. | ||
The API is not supported for the Free Tier of Cloud Manager. | ||
No group SSH key exists for group <group> . | ||
No payment information was found for group <group> . | ||
Could not retrieve availability zones from <account>
account. | ||
Could not retrieve available instance types from
<account> account. | ||
Could not retrieve security groups from <account>
account. | ||
No SSH keys found in group <group> . | ||
The specified metric requires a nonzero delay for all
notifications. | ||
Host <host> is not an SCCC config server. | ||
Metric <metric> is neither a database nor a disk metric. | ||
The currently logged in user does not have the global user
administrator. | ||
The currently logged in user does not have the user
administrator role in group <group> . | ||
The current user is not in the group, or the group does not
exist. | ||
The currently logged in user does not have the administrator
role in organization <organization> . | ||
Only sharded clusters and replica sets can be patched. | ||
The currently logged in user does not have the user
administrator role for any group, team, or organization
containing user <username> . | ||
Notifications must have an internal of at least 5 minutes. | ||
At least one notification is a type that is only available
for global alert configurations. | ||
A log collection request job can only be restarted if it is
in the FAILED state. | ||
No organization with ID <ID> exists. | ||
Account failed to authenticate with <credentials> . | ||
No provider configuration with ID <ID> exists for
provider <provider> . | ||
No provider configuration exists for provider <provider> . | ||
No provider <provider> exists. | ||
Provider <provider> not currently supported. | ||
No provision machine job with ID <ID> exists in group
<group> . | ||
Provisioned machine with ID <ID> could not terminate
because a MongoDB process, Monitoring, or Backup
is currently running on the machine. | ||
No provisioned machine with ID <ID> exists in group
<group> . | ||
Unable to retrieve configuration options from the provider. | ||
Resource <resource> is limited to <number> requests
every <number> minutes. | ||
Rate limit of <number> invitations per <number>
minutes exceeded. | ||
Cannot find resource <resource> . | ||
No restore job with ID <ID> exists in group <group> . | ||
No restore job with ID <ID> exists for cluster
<cluster> . | ||
Group-specific role <role> requires a group ID. | ||
Global role <role> cannot be specified with a group ID. | ||
Role <role> cannot be specified with an organization ID. | ||
Role <role> requires an organization ID. | ||
Roles specified for user. | ||
No snapshot with ID <ID> exists for cluster
<cluster> . | ||
An SSH key with the name <name> already exists. | ||
No SSH key with name <name> exists. | ||
No SSH key with ID <ID> exists. | ||
A threshold should only be present for member health alerts. | ||
At most one group notification can be specified for an alert
configuration. | ||
Groups are limited to <MAX_TAGS_PER_GROUP> tags. | ||
Mode TOTAL is no longer supported. | ||
Unexpected error. | ||
Threshold units cannot be converted to metric units. | ||
Automation agent version is less than the accepted minimum
version. | ||
The specified delivery method is not supported. | ||
Operation not supported for current configuration. | ||
Operation not supported for current plan. | ||
Notification type <type> is unsupported. | ||
Setting the backup state to <state> is not supported. | ||
Cluster checkpoint interval not supported by the Backup
version; please upgrade. | ||
Excluded namespaces are not supported by this Backup
version; please upgrade. | ||
Included namespaces are not supported by this Backup
version;
please upgrade. | ||
A user with username <username> already exists. | ||
No user with ID <ID> exists. | ||
User <username> is not in group <group> . | ||
Current user is not authorized to perform this action. | ||
No user with username <username> exists. | ||
Volume encryption is not available on instances of type
<type> . | ||
Volume optimization is not available on instances of type
<type> . | ||
The specified password is not strong enough. | ||
Webhook URL must be set in the group before adding webhook
notifications. | ||
Cannot retrieve access list for user <username> , which is not
currently logged in. | ||
IP address <address> not on access list for user
<username> . |