Contribute to this guideReport an issue

guideCKEditor Error Code Reference

This feature was introduced in CKEditor 4.5.4. It is an editor core functionality which is included in all CKEditor packages available from the Download site.

This article contains the list of CKEditor error codes and their explanation. The error codes are used by the editor to log information about errors and warnings to the JavaScript console.

# autoembed-no-widget-def

  • Location: plugins/autoembed/plugin.js
  • Description: Incorrect autoEmbed_widget value. No widget definition found.
  • Additional data: None.

# cloudservices-no-upload-url

# cloudservices-no-token-url

# cloudservices-no-token

  • Location: plugins/cloudservices/plugin.js
  • Description: Authentication token for the CKEditor Cloud Services plugin is empty. The cause of it might be that your token URL returned an empty response.
  • Additional data: None.

# editor-destroy-iframe

  • Location: plugins/wysiwygarea/plugin.js
  • Description: The editor’s <iframe> could not be destroyed correctly because it had been unloaded before the editor was destroyed. Make sure to destroy the editor before detaching it from the DOM.
  • Additional data: None.

# editor-element-conflict

  • Location: core/editor.js
  • Description: There is already editor’s instance attached to the provided element and attaching another one to it is not allowed.
  • Additional data:
    • editorName: The name of the already attached editor.

# editor-incorrect-destroy

  • Location: core/editor.js
  • Description: The editor is being destroyed before it is fully initialized.
  • Additional data: None.

# editor-incorrect-element

  • Location: core/editor.js
  • Description: The requested element couldn’t be found in page’s DOM. Check if passed argument points to the correct element.
  • Additional data:
    • element: The element’s id attribute.

# editor-plugin-required

  • Location: core/editor.js
  • Description: A plugin cannot be removed from the plugins list because it is required by another plugin.
  • Additional data:
    • plugin: The name of the plugin that cannot be removed.
    • requiredBy: The name of the plugin whose requirements block the removal.

# editor-plugin-conflict

  • Location: core/editor.js
  • Description: A plugin cannot be initialized because it is in conflict with another plugin.
  • Additional data:
    • plugin: The name of the plugin that cannot be initialized.
    • replacedWith: The name of the plugin which has been initialized instead of the conflicting one.

# embed-no-provider-url

  • Location: plugins/embed/plugin.js
  • Description: No embed provider URL configured. Since CKEditor 4.7.0 this value is empty by default.
  • Additional data: None.

# embedbase-widget-invalid

  • Location: plugins/embedbase/plugin.js
  • Description: A widget no longer belongs to the current editor’s widgets list and is no longer valid.
  • Additional data: None.

# filetools-response-error

  • Location: plugins/filetools/plugin.js
  • Description: An error occurred when parsing the upload response. Text could not be parsed to JSON.
  • Additional data:
    • responseText: Upload response text.

# invalid-license-key

  • Location: Various plugins
  • Description: The plugin license key passed to the plugin is missing or invalid. Refer to the plugin documentation for more information.
  • Additional data:
    • plugin: The name of the plugin that threw the error.

# mathjax-no-config

# no-vendor-lib

  • Location: core/tools.js
  • Description: Unable to find vendor library. Make sure that vendor library is available at the given path.
  • Additional data:
    • path: A path to the vendor library.

# range-endcontainer

  • Location: core/dom/range.js
  • Description: End container element is not a descendant of the root element.
  • Additional data:
    • endContainer
    • root

# range-startcontainer

  • Location: core/dom/range.js
  • Description: Start container element is not a descendant of the root element.
  • Additional data:
    • startContainer
    • root

# selection-fake-reset

  • Location: core/selection.js
  • Description: Incorrect selection instance resets the fake selection.
  • Additional data: None.

# selection-not-fake

  • Location: core/selection.js
  • Description: The selection is no longer fake.
  • Additional data: None.

# uploadimage-config

  • Location: plugins/uploadimage/plugin.js
  • Description: Upload URL for the Upload Image feature was not defined. Refer to the Uploading Dropped or Pasted Files article for more information.
  • Additional data: None.

# uploadfile-config

  • Location: plugins/uploadfile/plugin.js
  • Description: Upload URL for the Upload File feature was not defined. Refer to the Uploading Dropped or Pasted Files article for more information.
  • Additional data: None.