With multi-dimensional model as the core, let the factory digital transformation and upgrading “within reach”>>>
curl -H 'Content-Type: application/x-ndjson' -s -XPOST 10.0.3.73:9200/yyzj2019-04/trans/_bulk?pretty --data-binary @../test_6000.txt
Error report
1 {
2 "error" : {
3 "root_cause" : [ {
4 "type" : "parse_exception",
5 "reason" : "Failed to derive xcontent"
6 } ],
7 "type" : "parse_exception",
8 "reason" : "Failed to derive xcontent"
9 },
10 "status" : 400
11 }
Possible causes:
1. Carefully check the IP, port and the file name path after @ in the command
2. Check the encoding format of data file TXT, use UTF-8
3。。。
Follow up supplement
Similar Posts:
- Elasticsearch error mapper_ parsing_ exception
- In the process of learning to throw an exception, the reason for the error message typeerror: exceptions must derive from baseexception
- [Solved] reason”: “Root mapping definition has unsupported parameters:
- [How to Solve] Failed to convert value of type ‘java.lang.String’ to required type ‘java.util.Date’;
- Summary of common functions of urllib.parse in Python 3
- Postman reported an error unsupported media type [How to Solve]
- When parsing background JSON data with Ajax: unexpected token o in JSON at position 1
- Failed to create symbolic link ‘/usr/bin/utserver’: File exists with Error: Cannot find…
- [923]ElasticSearch 7.4.2 Root mapping definition has unsupported parameters