- Newest
- Most votes
- Most comments
Hi,
Generally speaking, http code 507 means insufficient storage: see for example https://sitechecker.pro/what-is-507-status-code/
The size of 6.95 GiB is well below the limit of 1 TiB.
So, how many items do you store in those GiBs? To check if number of items is the issue.
Best,
Didier
The error you're encountering (status 507) when trying to create an index in Amazon OpenSearch Serverless after exceeding 127 indexes in a collection is likely related to resource constraints or internal limits within the service.
While there isn't a documented hard limit of 127 indexes per collection in OpenSearch Serverless, the error suggests that you've reached a resource limit or an internal constraint of the service.
To resolve this issue, you have several options:
-
Optimize your index usage:
- Review your existing indexes and consider consolidating or removing unused ones.
- Use index aliases to manage multiple logical indexes within a single physical index.
-
Adjust your collection settings:
- Consider increasing your maximum indexing capacity (currently 2 OCU) and maximum search capacity (currently 4 OCU) if your workload requires more resources.
-
Use multiple collections:
- If you need to maintain a large number of separate indexes, consider distributing them across multiple collections.
-
Implement index lifecycle management:
- Use policies to automatically manage and remove old or unused indexes, keeping your total index count below the limit you're encountering.
-
Contact AWS Support:
- Since this issue is affecting your production environment and may be related to an undocumented limitation, it's advisable to open a support case with AWS. They can provide more specific guidance based on your account and usage patterns, and potentially adjust any relevant limits if necessary.
Remember to monitor your OpenSearch Serverless resource usage closely and set up appropriate CloudWatch alarms to alert you before reaching capacity limits in the future.
If these suggestions don't resolve your issue, AWS Support will be best positioned to provide a more detailed investigation and solution tailored to your specific setup and requirements.
Sources
Got an error "Request Entity Too Large" when creating index pattern in AWS Opensearch | AWS re:Post
Troubleshooting Amazon OpenSearch Service - Amazon OpenSearch Service
EffectiveLifecyclePolicyErrorDetail - Amazon OpenSearch Serverless
Relevant content
asked 2 years ago
asked 2 years ago
- AWS OFFICIALUpdated 3 months ago

Hi Didier, The collection currently has 126 indexes with 132349 total documents and 6.96 GiB storage. I'm able to create the 127 index successfully but the next fail with 507 error. Appreciate your support, Yakir