Skip to main content
Skip table of contents

Error: FORBIDDEN/12/index read-only / allow delete (api)


When using the Cognitive Toolkit, you may come across this error:

FORBIDDEN/12/index read-only / allow delete (api)


The two typical causes of this error:

  1. You have hit the "watermark" for disk space remaining (for more information:
  2. The node(s) in the cluster have run out of memory (RAM)


The first step in solving this problem is to address the cause (disk space, or memory). Check the logs in ...\Shinydocs\indexer\logs for indication of an out of memory (heap size) error or watermark hit. If it is out of memory/heap, you will need to increase the memory allocated to the Indexer (Elasticsearch)

  1. Once the cause has been addressed, you will need to let the index know it is okay to proceed and take the index out of read only. To do this, run the following command from Visualizer/Kibana > Dev Tools

    PUT /_all/_settings
    "index.blocks.read_only_allow_delete": false
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.