Getting {"error":"no handler found for uri [/_security/api_key] and method [POST]"}

Getting {"error":"no handler found for uri [/_security/api_key] and method [POST]"} when following instructions in Create API key API | Elasticsearch Guide [8.3] | Elastic to create an api key.

Elasticsearch version: 8.3.2 on Ubuntu 20.04.4 LTS.

What is your elasticsearch.yml configuration?

Example questions to rule out.

Do you have security and API Keys enabled in config?
Do you have a license for API Keys? For example, did you install a license, or enable a trial license in config or API?

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.