-
Notifications
You must be signed in to change notification settings - Fork 68
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
Can't send nested objects #42
Comments
cc @delvedor would you be able to help? |
@ly4she what version of elastic are you using? With this config:
You will get:
|
@Eomm Elasticsearch-7.5.1 |
You should check the mapping of the index in your elasticseach instance
The problem here is that there is a mismatch from the mapping created the first time and the new log. I suggest to delete the index and retry for testing purpose of course |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I pass nested objects as payload to elasticsearch, I'll get ResponseError: mapper_parsing_exception.
Code to reproduce:
Error I've got:
I think that is a transport responsibility to parse such objects, so I don't want manually stringify every time. And I think that it'll be great the posibility to pass some option like
pretty: true
for prettifying parsing maybe byJSON.stringify(payload, undefined, 2)
The text was updated successfully, but these errors were encountered: