2nd day trial Elasticsearch Cloud. I have my Cloud API keys from "Organization > API Keys > Create API key". I am doing the chatbot tutorial.
This is my credentials and they will be removed once the problem is solved. I am pasting it here to identify what is going wrong. Please feel free to try my credentials on your own to solve this problem.
raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(
elasticsearch.AuthenticationException: AuthenticationException(401, 'security_exception', 'unable to authenticate with provided credentials and anonymous access is not allowed for this request')
The credentials should be correct. Can anyone tell why is there an authentication error?
I've removed your keys in your post and highly encourage you to delete the api key. Please dont post api-keys publicly so others are able to perform requests on your behalf.
This is exactly where the confusion was and the answer I was looking for. Let's hope that these two will be named differently in the future to avoid confusion for Usability concerns.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.