africa
使⽤postman调试ES的_march或_bulk⽅法异常:
{
myz"error": {
e mail是什么"root_cau": [
{
"type": "illegal_argument_exception",hts
"reason": "The march request must be terminated by a newline [\n]"
遥控器英语}
],
bureaucratic
"type": "illegal_argument_exception",
"reason": "The march request must be terminated by a newline [\n]"
legend是什么意思
},
经典电影"status": 400
}
解决⽅案:
第⼀步:在headers中将Content-Type设置为application/x-ndjson
bodyguard第⼆步:在body中选择raw,text或json都可以(json的话会有⼀个格式错误)
第三步:最后⼀⾏多⼀个换⾏(_march⽅法,要求每⼀⾏后⾯都有⼀个 \n,最后⼀⾏也需要)
try 歌词
参考: