Skip to content

Error reference ​

Find the cause and repair steps by diagnostic code. Legacy error.code values remain supported.

Catching errors

Export ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_EXPORT_FAILEDDocument export failedExport@docxkit/core

Images ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_IMAGE_INVALID_DATAInvalid image dataImages@docxkit/core

Manifests ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_MANIFEST_INVALIDInvalid plugin manifestManifests@docxkit/core
DOCXKIT_MANIFEST_MISSINGPlugin manifest missingManifests@docxkit/loader

Nodes ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_HEADER_FOOTER_INVALID_CONTENTInvalid header or footer outputNodes@docxkit/core
DOCXKIT_UNKNOWN_NODE_TYPEUnknown node typeNodes@docxkit/core

Plugins ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_PLUGIN_DEPENDENCY_MISSINGPlugin dependency missingPlugins@docxkit/errors
DOCXKIT_PLUGIN_LOAD_FAILEDPlugin loading failedPlugins@docxkit/loader
DOCXKIT_PLUGIN_NOT_REGISTEREDPlugin not registeredPlugins@docxkit/core
DOCXKIT_PLUGIN_RENDER_FAILEDPlugin rendering failedPlugins@docxkit/core
DOCXKIT_PLUGIN_VERSION_MISMATCHIncompatible plugin versionPlugins@docxkit/core

Preview ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_MICROSOFT_URL_REQUIREDMicrosoft preview requires a URLPreview@docxkit/renderer
DOCXKIT_PREVIEW_FETCH_FAILEDPreview fetch failedPreview@docxkit/renderer
DOCXKIT_PREVIEW_INPUT_INVALIDInvalid preview inputPreview@docxkit/renderer
DOCXKIT_PREVIEW_RENDER_FAILEDPreview rendering failedPreview@docxkit/renderer

Styles ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_STYLE_CIRCULAR_EXTENDSCircular style inheritanceStyles@docxkit/core
DOCXKIT_STYLE_UNKNOWN_CLASSUnknown style classStyles@docxkit/core

Tables ​

Diagnostic codeProblemCategoryPackage
DOCXKIT_TABLE_INVALID_COLUMNSInvalid table gridTables@docxkit/core

Released under the MIT License.