This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Message: Permission denied.
Description: Permission verification failed.
Possible causes: The ohos.permission.KEEP_BACKGROUND_RUNNING permission is not configured.
Solution: Configure the related permission and try again.
Message: Parameter error.
Description: Parameter check error.
Possible causes: A mandatory parameter is not passed, or a parameter type is incorrect.
Solution: Check whether mandatory parameters are passed and whether the parameter types are correct.
Message: Initialize failed.
Description: TextReader initialization failed.
Possible causes: The TextReader fails to be initialized in the TTS engine or player.
Solution: You are advised to submit a ticket online.
Message: The TextReader is not initialized.
Description: The TextReader is not initialized.
Possible causes: The TextReader is not initialized.
Solution: Call the init method to initialize the TextReader.
Message: Text-to-speech engine error.
Description: TTS audio synthesis error.
Possible causes: The audio synthesis in the TTS engine is abnormal.
Solution: You are advised to submit a ticket online.
Message: AudioRenderer play error.
Description: A player error occurs.
Possible causes: The AudioRenderer player is abnormal.
Solution: You are advised to submit a ticket online.
Message: Audio decode error.
Description: Decoding error.
Possible causes: Audio decoding in the TTS engine fails.
Solution: You are advised to submit a ticket online.
Message: AVSession error.
Description: Media controller synchronization error.
Possible causes: An error occurs when the AVSession media controller synchronizes the cover image or playback status.
Solution: You are advised to submit a ticket online.
Message: Other error.
Description: Another error occurs.
Possible causes: Another error occurs.
Solution: You are advised to submit a ticket online.
Message: Play the previous failed.
Description: Failed to play the previous track.
Possible causes: Data is abnormal.
Solution: You are advised to submit a ticket online.
Message: Play the next failed.
Description: Failed to play the next track.
Possible causes: Data is abnormal.
Solution: You are advised to submit a ticket online.
Message: Release error.
Description: Failed to release the TextReader.
Possible causes: Resources may fail to be released.
Solution: You are advised to submit a ticket online.
Message: AI caption service is busy.
Description: The AICaption service is busy.
Possible causes: The AICaption service is busy.
Solution: You are advised to submit a ticket online.
Message: AI caption controller initialized failed.
Description: AICaption controller initialization failed.
Possible causes: The AICaption controller fails to be initialized.
Solution: You are advised to submit a ticket online.
Message: Audio recognition failed.
Description: Audio recognition failed.
Possible causes: An error occurs because the AICaption audio recognition fails.
Solution: You are advised to submit a ticket online.