• Simple Message Notification

smn
  1. Help Center
  2. Simple Message Notification
  3. API Reference
  4. Public Parameters
  5. Error Code

Error Code

Error Code

Description

Solution

SMN.0001

No permission to request resources.

The token is invalid or has expired. Input a valid token.

SMN.0002

Parameter: Name is invalid.

The topic name is invalid. The topic name is a string of 1 to 255 characters. It must contain upper- or lower-case letters, digits, hyphens (-), and underscores (_), and must start with a letter or digit.

SMN.0003

Parameter: DisplayName is invalid.

The topic display name is invalid. It cannot exceed 192 Bytes.

SMN.0004

Exceeded topic limit.

The number of topics has reached the limit. Each user can create a maximum of 3000 topics.

SMN.0005

Parameter: TopicUrn is invalid.

Enter a valid topic URN.

SMN.0006

Topic not found.

The topic does not exist.

SMN.0007

Exceeded subscription limit.

The number of subscriptions has reached the limit. You can add a maximum of 10,000 subscriptions to one topic.

SMN.0008

Parameter: Subject is invalid.

The subject is invalid. It cannot exceed 512 Bytes.

SMN.0009

Parameter: Message is invalid.

The message is empty or exceeds the limit in length.

SMN.0011

Parameter: Protocol is invalid.

Specify a correct protocol.

SMN.0012

Parameter: Endpoint is invalid.

Specify a valid endpoint.

SMN.0013

Subscription resource not found.

Enter a valid subscription URN.

SMN.0014

Parameter: SubscriptionUrn is invalid.

Enter a valid subscription URN.

SMN.0015

Parameter: Offset or limit is invalid.

Enter a valid offset and limit. The value of offset is greater than or equal to 0. The value of limit is greater than 0 and less than or equal to 100.

SMN.0016

Database Exceptions.

Contact customer service for technical support.

SMN.0017

Parameter: Remark is invalid.

The remarks must be a UTF-8-coded character string containing 128 Bytes at most.

SMN.0018

Service internal error.

Contact customer service for technical support.

SMN.0019

Producer Exceptions.

Contact customer service for technical support.

SMN.0021

MessageStructure is invalid.

Check whether the message structure format is correct.

SMN.0022

Parameter: token is invalid.

Input a valid token for subscription confirmation.

SMN.0024

Parameter: content is invalid.

Enter valid template content. It cannot be left blank or larger than 256 KB.

SMN.0025

Template already exists.

The template already exists. Do not create the same template again.

SMN.0027

Template not found.

The template does not exist. Check whether the input parameters are correct.

SMN.0031

Parameter: template_id is invalid.

Enter a valid template ID.

SMN.0032

Parameter: message_template_name is invalid.

Enter a valid template name, which is a string of 1 to 64 characters. It must contain upper- or lower-case letters, digits, hyphens (-), and underscores (_), and must start with a letter or digit.

SMN.0033

Parameter: push_policy is invalid.

Enter a valid value for push_policy.

SMN.0034

Parameter: subscription_auth_policy is invalid.

Enter a valid value for subscription_auth_policy.

SMN.0035

Parameter: validation_policy is invalid.

Enter a valid value for validation_policy.

SMN.0036

Parameter: xdomain_type is invalid.

Enter a valid value for xdomain_type.

SMN.0038

Parameter: tag is invalid.

Enter a valid value for tag.

SMN.0042

Parameter: Message_template_name is invalid.

Enter a valid value for message_template_name.

SMN.0043

Parameter: subscription is invalid.

Enter a valid value for subscription.

SMN.0044

Exceeded template limit.

The number of message templates has reached the limit. Each user can create a maximum of 100 message templates.

SMN.0045

Attribute not found.

Specify a valid topic attribute name.

SMN.0046

Parameter: Attribute name is invalid.

Enter a valid attribute name. Only specified attribute names are supported. For details, see section Topic Attribute List.

SMN.0047

Parameter: Value exceeds the maximum length.

Specify a valid topic attribute value, which cannot exceed 30 KB.

SMN.0048

Parameter: Access policy is invalid.

Specify a valid topic policy in access_policy. For details, see section Topic Management > Configuring a Topic Policy > Example Topic Policy in the Simple Message Notification User Guide.

SMN.0049

Parameter: Access policy version is invalid.

Currently, the policy version can only be 2016-09-07. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Topic Policy Elements in the Simple Message Notification User Guide.

SMN.0050

Parameter: Access policy ID is invalid.

Enter a valid policy ID. It cannot be left blank. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Topic Policy Elements in the Simple Message Notification User Guide.

SMN.0051

Parameter: Access policy statement is invalid.

Enter a valid policy statement. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0052

Parameter: Access policy statement ID is invalid.

Enter a valid policy statement ID. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0053

Parameter: Access policy statement resource is invalid.

Enter a valid policy statement resource. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0054

Parameter: Access policy statement effect is invalid.

Enter a valid policy statement effect. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0055

Parameter: Access policy statement action is invalid.

Enter a valid policy statement action. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0056

Parameter: Access policy statement principal is invalid.

Enter a valid policy statement principal. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0057

The number of SMS messages exceeds the limit.

An SMS messaging traffic control has been triggered.

For details, see section "What Are the Restrictions on SMS Messaging?" in the Simple Message Notification User Guide.

SMN.0058

Parameter: Access policy statement condition is invalid.

Enter a valid policy statement condition. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0059

Parameter: job_id is invalid.

Contact customer service for technical support.

SMN.0060

Job not found.

Contact customer service for technical support.

SMN.0061

Parameter: Service name is invalid.

Contact customer service for technical support.

SMN.0062

Parameter: Show name is invalid.

Contact customer service for technical support.

SMN.0063

Cloud service not found.

Contact customer service for technical support.

SMN.0065

The number of email messages exceeds the limit.

Contact customer service for technical support.

SMN.0066

Parameter: System parameter name is invalid.

Contact customer service for technical support.

SMN.0067

Parameter: System parameter value is invalid.

Contact customer service for technical support.

SMN.0068

System parameter not found.

Contact customer service for technical support.

SMN.0069

Not authorized to subscribe internal endpoints.

Enter a correct HTTP/HTTPS endpoint.

SMN.0070

No permission to request resources. The role is op_restricted. Contact customer service.

Check the account balance and top up your account. If the fault persists, contact customer service.

SMN.0071

No permission to request resources. The role is op_suspended.

Check whether your account has been frozen.

SMN.0072

Parameter: Service is invalid.

Enter a valid value for service. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0073

Parameter: Invalid action.

Enter a valid policy statement action. For details, see section Topic Management > Configuring Conditions in a Topic Policy > Statement Elements in the Simple Message Notification User Guide.

SMN.0074

Failed to add permission.

Contact customer service for technical support.

SMN.0075

Parameter: tags are too many.

The number of non-repeated variables in a message template exceeds the limit. A template can contain a maximum of 90 non-repeated variables.

SMN.0076

Default message template not found.

Create a template of the same name by using the default protocol.

SMN.0077

Parameter: Status is invalid.

Enter a valid value for status. For details, see the related API description.

SMN.0078

The maximum number of subscriptions has been reached.

The number of subscriptions has reached the limit.

SMN0261

Check whether your account balance is sufficient and top up your account if necessary.

Check the account balance and top up your account.