This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
The ComponentContent is incorrect.
When the called API is openCustomDialog, openCustomDialogWithController, closeCustomDialog, or updateCustomDialog, the returned error is "Dialog content error."The ComponentContent is incorrect.
Description
This error code is reported when there is an issue with the content node of the custom dialog box, which prevents the node from being rendered.
Possible Causes
The custom content node passed to the dialog box is empty or incorrect.
Solution
Check whether the content node of the custom dialog box exists. You can do so using the getFrameNodeById() API.
Ensure that the content node can be rendered properly.
Error Message
The ComponentContent already exists.
Description
This error code is reported when an attempt is made to open a custom dialog box that is already open.
Possible Causes
The custom dialog box associated with the content node is currently displayed.
Solution
Reinitialize and bind a content node that can be rendered properly to the dialog box.
Error Message
The ComponentContent cannot be found.
When the called API is closeCustomDialog or updateCustomDialog, the returned error is "Dialog content not found."The ComponentContent cannot be found.
Description
This error code is reported when an attempt is made to close or update a custom dialog box that is not open.
Possible Causes
The custom dialog box associated with the content node is not open.
Solution
Ensure that the custom dialog box associated with the content node is open.
Ensure that the content node of the custom dialog box is the target content node that needs to be updated or closed.
Error Message
The targetId does not exist.
Description
This error code is reported when no node can be found based on the provided targetId.
Possible Causes
The provided targetId is invalid, or the node corresponding to the targetId has been destroyed.
Solution
Check whether the node corresponding to the provided targetId exists. You can query the node using the getFrameNodeById() API.
Error Message
The node of targetId is not in the component tree.
Description
This error code is reported when the node specified by targetId is not mounted on the component tree.
Possible Causes
The node specified by targetId is not mounted on the component tree.
Solution
Check whether the node corresponding to the provided targetId exists. You can query the node using the getFrameNodeById() API.
Confirm that the node specified by targetId is mounted on the main component tree. You can call the isAttached() API of the content node to check whether it is mounted on the main component tree.
Error Message
The overlay cannot be opened due to the system pop-up window.
Description
This error code is reported when the overlay cannot be opened due to a system pop-up window.
Possible Causes
A system pop-up window exists on the current page, blocking the display of the overlay.
Solution
Wait until the user closes the system pop-up window and try to open the overlay again.