This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Message
Internal error.
Symptom
This error code is reported when an internal system error occurs.
Possible causes
An internal system error occurs.
Solution
Try again or submit a ticket online.
Message
Marshalling or unmarshalling error.
Symptom
This error code is returned when a marshalling or unmarshalling error occurs.
Possible causes
Live View Kit is abnormal.
Solution
Try again or submit a ticket online.
Message
Failed to connect service.
Symptom
This error code is reported when an error occurs during the connection to Live View Kit.
Possible causes
Live View Kit is busy or abnormal.
Solution
Try again or submit a ticket online.
Message
LiveView is not enabled.
Symptom
This error code is reported when Live View Kit is disabled.
Possible causes
Live View Kit is disabled for the app.
Solution
Go to Settings > Apps > services, select the app, and enable Live View Kit.
Message
The right of liveView is not enabled.
Symptom
This error code is reported when the live view permission is not requested.
Possible causes
Your app has not requested the live view permission of a specific scenario.
Solution
If your app has requested the live view permission, ensure that the event field matches the scenario for which the permission is requested. If your app has not requested the live view permission, request it by referring to Preparations.
Message
The liveView already exists.
Symptom
This error code is reported when the user attempts to create a live view with a duplicate ID.
Possible causes
The ID of the live view to be created is the same as an existing one.
Solution
Change the live view ID.
Message
Couldn't connect to server.
Symptom
This error code is reported when the network is unavailable.
Possible causes
The device is not connected to the network.
Solution
Verify the network.
Message
Over max number liveViews per second.
Symptom
This error code is reported when the live view creation or update frequency exceeds the limit.
Possible causes
For the same app, the live view creation frequency exceeds 10 per second or the live view update frequency exceeds 20 per second.
Solution
Reduce the live view call frequency.
Message
The liveView does not exist.
Symptom
This error code is reported when the live view ID does not exist.
Possible causes
The live view ID does not exist or the live view has been deleted.
Solution
Message
The liveView has ended.
Symptom
This error code is reported when you try to update or end a live view that has been ended.
Possible causes
After a live view is ended through liveViewManager.stopLiveView, it is still stored in the notification panel within the duration specified by keepTime. In this case, the liveViewManager.updateLiveView or liveViewManager.stopLiveView API is called to update or end a live view with the same ID.
Solution
When keepTime is specified and the app has called liveViewManager.stopLiveView to end a live view, do not call the live view update or ending API using the ID of this live view while the live view still remains in the notification panel.
Message
The liveView sequence is incorrect.
Symptom
This error code is reported when the new sequence number for updating or ending a live view is less than or equal to the current sequence number.
Possible causes
The new sequence number for updating or ending a live view is less than or equal to the current sequence number.
Solution
Change the sequence and try to update or end the live view again.
Message
Over max number liveViews by trigger.
Symptom
The number of condition-triggered live views exceeds the maximum limit.
Possible causes
You have sent more than five condition-triggered live view messages.
Solution
A maximum of five geofence-triggered live view messages are allowed per app, per device, per day. Wait until the next day to send other condition-triggered live view messages.
Message
Geofencing-based liveView is not enabled.
Symptom
The location-based live view alert is disabled.
Possible causes
The user has disabled the location-based live view alert.
Solution
Ask the user to enable the location-based live view alert. Then send the geofence-triggered live view message. To enable this function, go to Settings > Notifications & status bar > Live view, tap the four-dot icon in the upper right corner of the screen, tap Personalized alerts, and enable Show location-based alerts.
Message
The location switch is off.
Symptom
The location switch is disabled, leading to geofence registration failure.
Possible causes
The location switch is disabled. As a result, features such as continuous location, single location, and geofencing are unavailable
Solution
Ask the user to go to Settings > Privacy & security and enable the location switch.
Message
The "Awareness & suggestions" switch of the location-based service is turned off.
Symptom
The Awareness & suggestions switch of the location service is disabled, leading to geofence registration failure.
Possible causes
The Awareness & suggestions switch is disabled in the system settings path: Settings > Privacy & security > Location > System services.
Solution
Ask the user to go to Settings > Privacy & security > Location > System services (scroll to the bottom of the screen) and enable the Awareness & suggestions switch.
Message
The system failed to find the ExtensionAbility instance for the custom Live View widget template.
Symptom
The LiveViewCardExtensionAbility of the custom extension area of the live view widget cannot be found. As a result, the live view widget fails to be created.
Possible causes
When you create a custom extension area of a live view widget, the passed CustomLayout.abilityName does not exist.
Solution