Skip to content

SDK Error Codes ​

Read code on the SDK error. The table includes SDK-generated codes, embedded page codes, and codes documented for SDK 1.2.1. Where a row lists two values, match the exact string returned.

CodeMeaning
EMBED_MISSING_APP_IDThe embedded editor was initialized without an appId.
EMBED_BAD_REQUEST / BAD_REQUESTInvalid arguments or configuration.
EMBED_IFRAME_NOT_READYThe iframe is not ready. Wait for initialization to complete before making the call.
EMBED_TIMEOUTInitialization or the request timed out. The default timeout is 30 seconds.
EMBED_DESTROYEDThe SDK instance was destroyed before the call or while waiting for a response.
EMBED_LOAD_SHARE_FAILEDFailed to load a remote share. Check the share ID or network connection.
EMBED_LOAD_FILE_FAILEDFailed to load a project file. Check the project JSON format.
EMBED_APPLY_CONTENT_FAILEDFailed to apply project content.
LOAD_FAILEDThe share is missing or could not be parsed, or the supplied project file is invalid.
LOAD_CONTENT_FAILEDThe embedded canvas could not load the project content.
GET_CONTENT_FAILEDFailed to read project content.
EMBED_SWITCH_SLIDE_FAILED / SWITCH_SLIDE_FAILEDFailed to switch canvases.
EMBED_INVALID_SLIDE_INDEX / INVALID_SLIDE_INDEXThe canvas index is invalid or out of range.
EMBED_GET_SLIDE_COUNT_FAILED / GET_SLIDE_COUNT_FAILEDFailed to read the canvas count.
EMBED_INVALID_REPL_COMMAND / INVALID_REPL_COMMANDThe REPL command is empty or invalid.
EMBED_REPL_EXECUTE_FAILED / REPL_EXECUTE_FAILEDFailed to execute the REPL command.
SET_MASTER_TEMPLATE_FAILEDFailed to apply the master template.
FONT_LOAD_FAILEDFailed to load the font.
UNSUPPORTED_CAMERA_MODEThe target canvas type does not support the requested camera mode.
INVALID_VIEW_CAMERA_3DInvalid 3D view camera parameters.
INVALID_VIEW_BOUNDSInvalid canvas view bounds.
EXPORT_IMAGE_FAILEDFailed to export an image or TikZ.
INVALID_HISTORY_INDEXInvalid history index.
EMBED_UNKNOWN_METHOD / UNKNOWN_METHODThe embedded page does not support the method.
EMBED_UNKNOWN_ERROR / UNKNOWN_ERRORAn unclassified SDK or embedded page error. Check message and optional details.