How do I resolve the 403 "index_create_block_exception" error in Amazon OpenSearch Service?
Last updated: 2021-07-30
When I try to create an index or write data to my Amazon OpenSearch Service domain, I get a ClusterBlockException. How do I resolve this?
Short description
When you create an index or write data to your OpenSearch Service domain, you might receive the following error message:
{
"error": {
"root_cause": [
{
"type": "index_create_block_exception",
"reason": "blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];"
}
],
"type": "index_create_block_exception",
"reason": "blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];"
},
"status": 403
Resolution
Here are common causes of cluster block exceptions:
- Lack of free storage space: For more information, see ClusterBlockException.
- High JVM memory pressure: To troubleshoot high JVM memory pressure, see Why did my Amazon OpenSearch Service node crash?
Amazon OpenSearch Service is the successor to Amazon Elasticsearch Service.
Related information
Did this article help?
Do you need billing or technical support?