Error creating new source from Elasticsearch with authentication issue

Summary

When trying to create a new source from Elasticsearch, encountering a security exception due to invalid credentials. The error message indicates that anonymous access is not allowed for the request.


Question

Hello everyone,

I’m trying to create a new source from Elasticsearch, but I get this error in the logs :

2024-06-18 07:58:12 platform > Validation failed: "{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"unable to authenticate with provided credentials and anonymous access is not allowed for this request\",\"additional_unsuccessful_credentials\":\"API key: invalid credentials for API key [8A5ZKpABfKyQxhjHjkmM]\",\"header\":{\"WWW-Authenticate\":[\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\",\"Bearer realm=\\\"security\\\"\",\"ApiKey\"]}}],\"type\":\"security_exception\",\"reason\":\"unable to authenticate with provided credentials and anonymous access is not allowed for this request\",\"additional_unsuccessful_credentials\":\"API key: invalid credentials for API key [8A5ZKpABfKyQxhjHjkmM]\",\"header\":{\"WWW-Authenticate\":[\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\",\"Bearer realm=\\\"security\\\"\",\"ApiKey\"]}},\"status\":401}"
I don’t understand what I’m doing wrong, as the information I have provided are right. You can see in the attached screenshot that I can do a cURL request with the informations that Airbyte is not accepting.



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["elasticsearch-connector", "authentication-issue", "security-exception", "invalid-credentials"]