I am using the right credentials.
My instance is deployed in "https://cloud.elastic.co/deployments/"
I just need to access the information I installed to enterprise-search from elastic on my machine, from localhost. Do you think this may be a problem like a router port, cors, or firewall? I think this should just work as per the docs.
p.s. thise credentials are not real, but close enough to state the point that they look like the real ones, but when I try to use the real ones from the elastic AWS UI they return the same responseError. Any idea why this might not be working?
How are you performing the request? Is it through the browser or through a node app?
Looks like you are using the API key correctly so might be something else.
The @elastic/enterprise-search package is only designed for node apps for making server side API calls to Enterprise search. If you're using the browser, you should look into @elastic/app-search-javascript - npm
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.