Failed to parse value[1] as only [true] or [false] are allowed

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Failed to parse value [1] as only [true] or [false] are allowed."}],"type":"illegal_argument_exception","reason":"Failed to parse value [1] as only [true] or [false] are allowed."},"status":400}

I get this error when i access http://localhost:9200/_nodes/transport?pretty=1

So it seems like i did some settings wrong but i am not sure were to look

can you share a bit more about your setup? What version are you running on? Does the same happen when you run GET _nodes. Can you run the request with this parameter and paste the full response

GET _nodes/transport?error_trace=true

thanks!

The problem here is the pretty=1. That is no longer accepted syntax as we have removed the use of anything but true and false to represent true and false. This problem will go away if you change pretty=1 to pretty=true.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.