Skip to content

Invalid argument exception with OpenSearch Serverless #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CermakM opened this issue Sep 18, 2024 · 1 comment
Closed

Invalid argument exception with OpenSearch Serverless #155

CermakM opened this issue Sep 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@CermakM
Copy link

CermakM commented Sep 18, 2024

Describe the bug
When using the plugin in Goland with AWS OpenSearch Serverless, while the connection is working, I get the following error from the inspection:

org.elasticsearch4idea.ey: GET <opensearch endpoint>/_cat/indices/*?format=json&expand_wildcards=open 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"}],"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"},"status":400}

This makes it impossible to use the plugin, since I can't even execute es request.

Steps to reproduce
Install the Plugin and connect to an OpenSearch Serverless endpoint.

Expected behavior
No error occurs.

Environment information:

  • OS: MacOS
  • plugin version: 2024.1.3
  • Elasticsearch or OpenSearch version: 2.0.2
@CermakM CermakM added the bug Something isn't working label Sep 18, 2024
@AntonShuvaev
Copy link
Owner

Thanks for reporting the issue. I'll fix it in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants