Event Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

1500001 Want Action Is Null

Error Message

The action field in the want parameter is null.

Description

This error code is reported when the Action attribute in the want object is null for the event to send.

Possible Causes

The Action attribute in the want object is null for the event to send.

Solution

Make sure the Action attribute in the want object is not null.

1500002 Failed to Send Common Events from a Sandbox Application

Error Message

A sandbox application cannot send common events.

Description

This error code is reported when an attempt is made to send a common event from a sandbox application.

Possible Causes

Common events from a sandbox application are blocked.

Solution

Check whether the application used to send a common event is a sandbox application. If so, switch to another application.

1500003 Event Sending Frequency Is Too High

Error Message

The common event sending frequency too high.

Description

This error code is reported when the application sends common events too frequently.

Possible Causes

The number of common events sent by the application in a given time frame has reached the maximum.

Solution

Do not send common events too frequently.

1500004 Failed to Send System Common Events

Error Message

A third-party application cannot send system common events.

Description

This error code is reported when the application cannot send system common events.

Possible Causes

The application is not a system application or system service.

Solution

Make sure the application to send system common events is a system application or system service.

1500005 Subscriber Not Found

Error Message

The subscriber is not found.

Description

This error code is reported when the subscriber cannot be found.

Possible Causes

The subscriber is deleted.

Solution

Check whether the subscription has already been canceled. If the subscription has been canceled, the subscriber is deleted.

1500006 Invalid User ID

Error Message

Invalid userId.

Description

This error code is reported when the user ID is invalid.

Possible Causes

The user ID is different from the system user ID, or the application is not a system application or system service.

Solution

  1. Make sure the current user ID is the same as the system user ID.
  2. Make sure the application is a system application or system service.

1500007 Failed to Send a Request Through IPC

Error Message

Failed to send the message to the common event service.

Description

This error code is reported when the attempt to send a request through IPC fails.

Possible Causes

The connection object fails to be created.

Solution

Do not set up connections frequently. Try again later.

1500008 Failed to Initialize the Common Event Service

Error Message

Failed to initialize the common event service.

Description

This error code is reported when an error occurs on the server.

Possible Causes

A service exception occurs when the server processes data.

Solution

Try again later.

1500009 Failed to Obtain System Parameters

Error Message

Failed to obtain system parameters.

Description

This error code is reported when an exception occurs in the system during service processing, for example, when the current system time fails to be obtained.

Possible Causes

A system fault occurs.

Solution

Try again later.

1500010 The Number of Subscribers Exceeds the Upper Limit

Error Message

The count of subscriber exceed system specification.

Description

This error code is reported when the number of subscribers exceeds the upper limit.

Possible Causes

The subscriber is not unregistered in a timely manner when it is no longer used. A maximum of 200 subscribers can be subscribed to in each process of the common event. All services in a process share the number of subscribers.

Solution

Unregister the subscriber that is no longer used in the application. If the subscriber has been unregistered, try again later.