Dev Tools appears not to be specifying content-type header #13423
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Console
Dev Tools Console Feature
Feature:Dev Tools
Kibana version:
Version: 6.0.0-beta1-SNAPSHOT
Elasticsearch version:
Version: 6.0.0-beta1-SNAPSHOT, Build: 4558fc1/2017-08-07T13:03:07.945Z, JVM: 1.8.0_141
Server OS version:
Linux xxxxx 4.4.35-33.55.amzn1.x86_64 #1 SMP Tue Dec 6 20:30:04 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Browser version: n/a
Browser OS version: n/a
Original install method (e.g. download page, yum, from source, etc.):
downloaded zips
Description of the problem including expected versus actual behavior:
Using Dev Tools, the command below has a syntax error, in that it is missing a comma between the
source
anddest
block.In elasticsearch and kibana 5.4, this returns a useful
json_parse_exception
error messageIn elasticsearch and kibana 6.0.0-beta1, this returns a less useful message
This message occurs if the Content-Type Header has not been specified for the POST. If specified, then the message from elasticsearch is a
json_parse_exception
Steps to reproduce: See description
Errors in browser console (if relevant): n/a
Provide logs and/or server output (if relevant): n/a
The text was updated successfully, but these errors were encountered: