Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HarmonyOS
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Failed to create the AVMusicTemplate.
Description
Failed to create the audio template.
Possible Causes
The connection to the media enhancement service fails.
Solution
Restart the device.
Error Message
Failed to create the AVMusicTemplate controller.
Description
Failed to create the audio template controller.
Possible Causes
The sessionId parameter for creating the controller is invalid.
Solution
Check whether the sessionId is empty or whether an application has created the AVMusicTemplate corresponding to the sessionId.
Error Message
Template listener not registered.
Description
The template listener is not registered.
Possible Causes
The template listener fails to be registered.
Solution
Error Message
Controller callback not registered.
Description
The template controller callback is not registered.
Possible Causes
The controller callback fails to be registered.
Solution
Error Message
AVMusicTemplate does not exist.
Description
The audio template does not exist.
Possible Causes
The audio template has not been created.
Solution
Error Message
AVMusicTemplateController does not exist.
Description
The template controller does not exist.
Possible Causes
The AVMusicTemplateController does not exist.
Solution
Error Message
AVMusicTemplateController already exists.
Description
The template controller already exists.
Possible Causes
The AVMusicTemplateController already exists and does not need to be created again.
Solution
In an application process, a sessionId corresponds to an AVMusicTemplateController. You do not need to create it again.
Error Message
AVMusicTemplate Manager services do not exist.
Description
The audio template management service does not exist.
Possible Causes
The media enhancement service fails to be started.
Solution
Restart the device.
Error Message
AVMusicTemplate Manager services exception.
Description
The audio template management service is abnormal.
Possible Causes
The communication of the media enhancement service is abnormal.
Solution
Error Message
The data exceeds the maximum allowable transmission capacity.
Description
The data exceeds the maximum transmission capacity.
Possible Causes
The size of the data to be transmitted exceeds the 1 MB limit.
Solution
Transmit the data exceeding 1 MB in batches.
Error Message
The data write error, data is invalid.
Description
Failed to write data. The data is unavailable.
Possible Causes
Failed to write data.
Solution
Check whether the data to be transmitted contains invalid properties or values.
Error Message
AVMusicTemplate error.
Description
The audio template is incorrect.
Possible Causes
The audio content of the media enhancement service is incorrectly configured.
Solution
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.