Skip to content
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

Error 403(forbidden) occurs when I use Index::addDocuments method for Amazon ES with IAM role security. #1788

Open
takeshita-yoshiteru-lvgs opened this issue Jul 17, 2020 · 0 comments

Comments

@takeshita-yoshiteru-lvgs
Copy link

takeshita-yoshiteru-lvgs commented Jul 17, 2020

I guess there is a signing bug in Index::addDocuments() method.

I try to add documents via Index::addDocuments() method to Amazon Elasticsearch which has IAM security. So I use AwsAuthV4 for transporter.
But when I call Index::addDocuments, it always returns 403 error.
I can add document via Index::addDocument(), and can use other methods like Index.exists(), create().

My elastica version is 7.0.0.
This is my sample code -> https://gist.github.com/takeshita-yoshiteru-lvgs/bd55b416ad380d975d73b56c919e35ec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant