TransportError(403, u’cluster_block_exception’, u’blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];’)
Try GET yourindex/_settings, this will show yourindex settings. If read_only_allow_delete is true, then try: PUT /<yourindex>/_settings { “index.blocks.read_only_allow_delete”: null } I got my issue fixed. plz refer to es config guide for more detail. The curl command for this is curl -X PUT “localhost:9200/twitter/_settings?pretty” -H ‘Content-Type: application/json’ -d ‘ { “index.blocks.read_only_allow_delete”: null }’